http://d.puremagic.com/issues/show_bug.cgi?id=4352
Summary: Destructor of inner struct not callale Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: and...@metalanguage.com --- Comment #0 from Andrei Alexandrescu <and...@metalanguage.com> 2010-06-19 22:49:47 PDT --- Compiling this: struct Array(T) { struct Payload { ~this() { } } RefCounted!(Payload, RefCountedAutoInitialize.no) _data; } unittest { Array!int a; } ends with error message: /home/andrei/code/dmd/phobos/std/typecons.d(365): Error: destructor test.Array!(int).Array.Payload.~this () is not callable using argument types () The reported location is mistaken too. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------