[Issue 8549] Bad error message with const methods
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 20 22:42:13 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8549
--- Comment #5 from bearophile_hugs at eml.cc 2012-10-20 22:42:12 PDT ---
(In reply to comment #3)
> 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?
Do you want me to reopen this bug report?
Maybe an error message that tells what to do is better (not complete error
message):
test.d(11): Error: function test.Foo.opSlice() needs to be const to [...]
--
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