[Issue 10150] Prefix method 'this' qualifiers should be just ignored anytime

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 30 10:35:27 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10150


Dicebot <m.strashun at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.strashun at gmail.com


--- Comment #6 from Dicebot <m.strashun at gmail.com> 2013-06-30 10:35:25 PDT ---
I think "const T foo" should be parsed as "const(T) foo" where T is not void
and be an error otherwise. (I was almost certain that former was how it has
behaved before!)

This is a very natural style to type in, especially for those that come from
C/C++. Silent no-op is probably most dangerous decision possible.

-- 
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