Summary: inexpressive error message for const object method
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Trass3r <> 2010-07-23 18:16:17 PDT ---
class Foo
    void getX()

const Foo f;

void main()

Error: function constobj.Foo.getX () is not callable using argument types ()

This error message could be more expressive to show that getX must be marked as
const to make it work.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to