http://d.puremagic.com/issues/show_bug.cgi?id=7050
Summary: Safety error message should include full function names Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: c...@klickverbot.at --- Comment #0 from klickverbot <c...@klickverbot.at> 2011-12-02 09:14:16 PST --- Currently (DMD 2.057 Git, 887dda0ba), --- struct Foo { this (int a) {} } @safe void foo() { auto f = Foo(3); } --- produces --- Error: safe function 'foo' cannot call system function 'this' --- . The error message should include the type (i.e. Foo.this) so it is clear what it refers to. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------