https://issues.dlang.org/show_bug.cgi?id=15721
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from [email protected] --- GCAllocator is supported but Mallocator produces a free error: import std.experimental.allocator.mallocator; import std.experimental.allocator.gc_allocator; import std.experimental.allocator; interface Foo {} class Bar: Foo {} void main() { GCAllocator.instance.dispose(cast(Foo) GCAllocator.instance.make!Bar); // comment the following line: OK Mallocator.instance.dispose(cast(Foo) Mallocator.instance.make!Bar); } --
