[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
Sun Apr 19 05:59:11 PDT 2009


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





------- Comment #8 from smjg at iname.com  2009-04-19 07:59 -------
(In reply to comment #7)
>> To me, that's the compiler being correct - quite a different thing from the
>> code being correct.
> 
> both functions have the same code.

That depends on whether you mean source code or object code.  I was thinking
about source code when I made that statement.


-- 



More information about the Digitalmars-d-bugs mailing list