https://issues.dlang.org/show_bug.cgi?id=13184
Mike Franklin <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Mike Franklin <[email protected]> --- (In reply to RazvanN from comment #1) > 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) : Yes, that does seem to be the trend, and I don't like it. `static` methods at the module level is another; the `static` is pointless, but the compiler doesn't seem to mind. I would prefer that, if a token is meaningless, the compiler emit an error. --
