Comment #1 by wazar.leollone — 2013-05-17T16:34:34Z
Same http://d.puremagic.com/issues/show_bug.cgi?id=10108 I think.
This is conceptual question: Can reference types be thread local?
If we'll find the way: we can do class literals, array literals and pointers thread local.
By the way:
int* global_ptr = [1,2,3].ptr; //same trouble
I think, we must reject all mutable non-shared reference literals. And move to reject all non-mutable literals
Comment #2 by robert.schadek — 2024-12-13T18:06:54Z