constructing module level immutable variables at runtime?

Danni Coy via Digitalmars-d digitalmars-d at puremagic.com
Sun Feb 21 23:36:36 PST 2016


On Mon, Feb 22, 2016 at 5:29 PM, Sönke Ludwig
<digitalmars-d at puremagic.com> wrote:
> I was wrong, there is obviously a language/compiler bug here. It compiles if
> you remove the "= void", but it does so for "shared static this" as well as
> for "static this". It really shouldn't in the latter case.

Interesting... It definately seems like should work when explicitly
asking the variable not the instantiated and not in a thread local
initialiser.



More information about the Digitalmars-d mailing list