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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 1 06:49:48 PDT 2013


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



--- Comment #16 from Dicebot <m.strashun at gmail.com> 2013-07-01 06:49:46 PDT ---
(In reply to comment #15)
> The solution of saying "prefix applies to return value", would be a big
> interface change. Even where we to agree it is the right decision, I don't
> think it could acceptable change.

You have asked what it my opinion about "how it should behave", not about "what
can be released" ;) I don't expect this to change, it is a design mistake with
roots too ancient to shake it. But I at least want it to remind me every time
about it, not fail silently. This pull request was a disaster.

Actually, paying even more attention to initial enhancement description I see
no valid use case. "const: void foo() {}" - this should be an error, nothing
convenient about letting it go.

P.S. By "Lisp-y" I have meant excessive () bracket usage.

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