https://issues.dlang.org/show_bug.cgi?id=13184
--- Comment #3 from RazvanN <[email protected]> --- (In reply to Mike Franklin from comment #2) > (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. I think that an error is too much, but a warning could be appreciated. On the other hand, I know that Walter is against warnings so I don't know if this is going to advance in any way. --
