[Issue 4734] immutable return type specifier without parantheses confuses the compiler
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 26 14:53:19 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4734
--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2010-08-26 14:53:11 PDT ---
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.
--
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