On 22 July 2014 18:26, Manu <[email protected]> wrote: > On 22 July 2014 17:47, David Nadlinger via Digitalmars-d < > [email protected]> wrote: > >> On Tuesday, 22 July 2014 at 07:27:46 UTC, Manu via Digitalmars-d wrote: >> >>> But what I need is: >>> __gshared this() // not-thread-local static constructor >>> >> >> "shared static this()" (or the other b way round, can never remember). >> >> Cheers, >> David >> > > Oh wow, I'm an idiot. Not sure how I missed that... and I've even used it > before in various occasions! > Sorry for the noise! >_< >
Might I suggest some helpful error messages in these cases where the user tries to do something stupid like this? :)
