https://d.puremagic.com/issues/show_bug.cgi?id=3878
Walter Bright <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Version|2.041 |D2 --- Comment #12 from Walter Bright <[email protected]> 2013-11-24 11:36:53 PST --- In reply to the original report, I disagree that this is a significant issue, in fact I'll often deliberately name a parameter the same as a member. struct S { int m; this(int m) { this.m = m; } } because I like to make it clear I am initializing m. I find code like this to be unduly wretched: struct S { int m; this(int _m) { m = _m; } } I'm opposed to this enhancement. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
