[Issue 4734] immutable return type specifier without parantheses confuses the compiler
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 26 15:17:07 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4734
Stephan Dilly <spam at extrawurst.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
--- Comment #4 from Stephan Dilly <spam at extrawurst.org> 2010-08-26 15:16:58 PDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > You are absolutely right. I forgot about the ability to make functions
> > themselves const/immutable. It would really help if that right-side rule was in
> > place, because all this will do right now is cause confusion (unless we get a
> > nicer error message, in which case we can keep the flexibility I think..).
> >
> > So maybe I should change this to an enhancement request for a better error
> > message.
>
> it is nothing but consistent and should stay as it is.
sorry i should have read to the end. i aggree that the error message could be
improved ;)
--
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