[Issue 2947] Array literal changeable if part of class.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Mar 19 07:50:47 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=2947

--- Comment #11 from yebblies <yebblies at gmail.com> ---
(In reply to Jakob Ovrum from comment #9)
> (In reply to yebblies from comment #8)
> > How exactly would putting the array in TLS fix this bug?
> 
> Sigh, like I said, the code in the bug report is *not* a bug.
> 

Well, you're wrong.  It should not be shared between class instances at all.

--


More information about the Digitalmars-d-bugs mailing list