Summary: Safety error message should include full function
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD

--- Comment #0 from klickverbot <> 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);
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:
------- You are receiving this mail because: -------

Reply via email to