[Issue 5207] Immutability is broken in constructors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 2 02:01:39 PDT 2013


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



--- Comment #3 from Lars T. Kyllingstad <bugzilla at kyllingen.net> 2013-07-02 02:01:08 PDT ---
I'm not suggesting that the assignment be prohibited.  Rather, I think it
should be illegal to *access* the variable before it is initialised.

If the current behaviour is by design, consider this an enhancement request.

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