[Issue 2625] Creating new struct with literal bypasses immutability of members if struct is in array

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2625 Andrei Alexandrescu changed: What|Removed |Added Version|2.023 |D2 --

[Issue 2625] Creating new struct with literal bypasses immutability of members if struct is in array

2011-06-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2625 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 2625] Creating new struct with literal bypasses immutability of members if struct is in array

2010-12-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2625 --- Comment #9 from Stewart Gordon 2010-12-07 04:08:05 PST --- A similar problem has just cropped up as issue 5327. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 2625] Creating new struct with literal bypasses immutability of members if struct is in array

2009-04-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2625 --- Comment #8 from s...@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 depen

[Issue 2625] Creating new struct with literal bypasses immutability of members if struct is in array

2009-04-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2625 --- Comment #7 from ma...@pochta.ru 2009-04-04 09:16 --- (In reply to comment #6) > That bit talks about the whole struct being declared const. it talks about members too. > > I meant, it's correct that error is given for broken().

[Issue 2625] Creating new struct with literal bypasses immutability of members if struct is in array

2009-04-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2625 --- Comment #6 from s...@iname.com 2009-04-04 08:51 --- (In reply to comment #5) > (In reply to comment #3) >> Where on that page is the issue addressed? > > see "Const and Invariant Structs" That bit talks about the whole struct be

[Issue 2625] Creating new struct with literal bypasses immutability of members if struct is in array

2009-04-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2625 ma...@pochta.ru changed: What|Removed |Added URL||http://digitalmars.com/d/2.0

[Issue 2625] Creating new struct with literal bypasses immutability of members if struct is in array

2009-04-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2625 --- Comment #4 from s...@iname.com 2009-04-03 09:09 --- Here's how it would have to work. Really, there are four constancy levels: - reassignable (the default) - mutable but non-reassignable (MBNR) - const - invariant (immutable) Fo

[Issue 2625] Creating new struct with literal bypasses immutability of members if struct is in array

2009-04-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2625 s...@iname.com changed: What|Removed |Added CC||s...@iname.com --- Comment #3 fr

[Issue 2625] Creating new struct with literal bypasses immutability of members if struct is in array

2009-04-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2625 ma...@pochta.ru changed: What|Removed |Added OtherBugsDependingO||2573 nThis|

[Issue 2625] Creating new struct with literal bypasses immutability of members if struct is in array

2009-04-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2625 dsim...@yahoo.com changed: What|Removed |Added Severity|normal |critical Keywords|spec