https://issues.dlang.org/show_bug.cgi?id=13184
RazvanN <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from RazvanN <[email protected]> --- It seems that __gshared is ignored when applied to a constructor, which seems to be in trend with how D usually treats identifiers which are used where they not supposed to. The same happens with extern(C) : struct S { extern (C) void foo() {} } This code will compiler even though it doesn't make any sense to mark a struct function as extern(C). I would say we should close this as wontfix. --
