digitalmars.D.bugs - [Issue 16184] New: allocator.dispose allows to dispose C++ interfaces
- via Digitalmars-d-bugs (16/17) Jun 19 2016 https://issues.dlang.org/show_bug.cgi?id=16184
https://issues.dlang.org/show_bug.cgi?id=16184 Issue ID: 16184 Summary: allocator.dispose allows to dispose C++ interfaces Product: D Version: D2 Hardware: All OS: All Status: ASSIGNED Severity: normal Priority: P1 Component: phobos Assignee: b2.temp gmx.com Reporter: b2.temp gmx.com But this shouldn't be allowed, following the spec: http://dlang.org/spec/interface.html#cpp-interfacesIt cannot be the argument of a DeleteExpression.--
Jun 19 2016