[Issue 2625] Creating new struct with literal bypasses immutability of members if struct is in array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 2 05:02:50 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2625
maxmo at pochta.ru changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |2573
nThis| |
------- Comment #2 from maxmo at pochta.ru 2009-04-02 07:02 -------
According to specs http://digitalmars.com/d/2.0/struct.html works() is correct.
I think, broken() is correct, since invariant data can be referenced directly,
so it's incorrect for it to change in time.
--
More information about the Digitalmars-d-bugs
mailing list