Thread overview | |||||
---|---|---|---|---|---|
|
September 11, 2011 [Issue 6647] New: [SafeD] unhelpful error message for @safety mismatch of generated destructor | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6647 Summary: [SafeD] unhelpful error message for @safety mismatch of generated destructor Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: dmitry.olsh@gmail.com --- Comment #0 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2011-09-11 10:23:28 PDT --- Test case: struct A { ~this(){} } @safe struct B { A a; } @safe void f() { auto x = B.init; } dmd outputs: Error: safe function '~this' cannot call system function '~this' And no line number or type anywhere in message. At very minimum it should state which type is used in first ~this and which in second. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 27, 2012 [Issue 6647] [SafeD] unhelpful error message for @safety mismatch of generated destructor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dmitry Olshansky | http://d.puremagic.com/issues/show_bug.cgi?id=6647 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull CC| |yebblies@gmail.com --- Comment #1 from yebblies <yebblies@gmail.com> 2012-10-27 20:25:46 EST --- https://github.com/D-Programming-Language/dmd/pull/1201 Fixed https://github.com/D-Programming-Language/dmd/commit/98c9357e42e37de5b35c4ec2985d657770cedf6d -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 27, 2012 [Issue 6647] [SafeD] unhelpful error message for @safety mismatch of generated destructor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dmitry Olshansky | http://d.puremagic.com/issues/show_bug.cgi?id=6647 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation