On Thursday, 14 March 2019 at 14:47:18 UTC, Adam D. Ruppe wrote:
On Thursday, 14 March 2019 at 14:22:52 UTC, spir wrote:
https://dlang.org/spec/hash-map.html#static_initialization:

Well, bug in implementation. That is *supposed* to work, but the compiler never implemented it.

The docs really should point out this fact explicitly, though.

Especially since it's hard to workaround inside function scope.

Reply via email to