[Issue 6114] immutable class variable not properly initialized when the constructor initializing it is non-shared

2017-07-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6114 --- Comment #8 from Jonathan M Davis --- (In reply to Steven Schveighoffer from comment #6) > The example isn't exactly pointing out the error. > > There are 2 problems here, one is an expectation that a non-shared

[Issue 6114] immutable class variable not properly initialized when the constructor initializing it is non-shared

2017-07-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6114 --- Comment #7 from Vladimir Panteleev --- Thanks! --

[Issue 6114] immutable class variable not properly initialized when the constructor initializing it is non-shared

2017-07-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6114 Steven Schveighoffer changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6114] immutable class variable not properly initialized when the constructor initializing it is non-shared

2017-07-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6114 --- Comment #5 from Jonathan M Davis --- Okay, self-contained example: bug.d class C { } immutable C theC; static this() { theC = new immutable C; } test.d import bug; shared static

[Issue 6114] immutable class variable not properly initialized when the constructor initializing it is non-shared

2017-07-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6114 --- Comment #4 from Jonathan M Davis --- Really, the larger issue is this one bug# 4923, and maybe this should be closed given that this is really just another manifestation of that, though if I can fix the example for

[Issue 6114] immutable class variable not properly initialized when the constructor initializing it is non-shared

2017-07-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6114 --- Comment #3 from Vladimir Panteleev --- Jonathan, if this is still an issue, could you please post a complete self-contained minimal example? --

[Issue 6114] immutable class variable not properly initialized when the constructor initializing it is non-shared

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6114 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|unspecified |D2 --

[Issue 6114] immutable class variable not properly initialized when the constructor initializing it is non-shared

2011-06-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6114 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

[Issue 6114] immutable class variable not properly initialized when the constructor initializing it is non-shared

2011-06-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6114 Brad Roberts bra...@puremagic.com changed: What|Removed |Added CC||bra...@puremagic.com