[Issue 8549] Bad error message with const methods
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 19 21:40:58 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8549
--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-19 21:40:56 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > Issue6707 covers this, the error message is now:
>
> I agree with closing this as dupe.
>
> But I think adding "const" at the end is not nearly enough to make the error
> message clear.
I would take a bigger pull to fix this since there's a lot of code duplication
in DMD. Personally I would change the message to:
Error: function test.Foo.opSlice () is not callable using const(this)
What do you think?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list