http://d.puremagic.com/issues/show_bug.cgi?id=3606
Summary: Problems with struct destructors and const structs Product: D Version: 2.036 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: we...@beardmouse.org.uk --- Comment #0 from Richard Webb <we...@beardmouse.org.uk> 2009-12-11 05:44:37 PST --- Using DMD 2.037, trying to compile the code: //////////////////////////////// struct Foo { ~this() { } } void Bar() { const Foo f; } //////////////////////////////// Fails with the error: Error: destructor Foo.~this () is not callable using argument types () Which seems a bit strange. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------