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: [email protected]
          Reporter: [email protected]

But this shouldn't be allowed, following the spec:

http://dlang.org/spec/interface.html#cpp-interfaces

> It cannot be the argument of a DeleteExpression.

--

Reply via email to