Is there any workaround to avoid this?
Please file a regression under https://issues.dlang.org/.One workaround for now would be to initialize the variable at runtime, e.g.
```d static double d; shared static this() { d = exp(-1.0); } ```
Is there any workaround to avoid this?
Please file a regression under https://issues.dlang.org/.One workaround for now would be to initialize the variable at runtime, e.g.
```d static double d; shared static this() { d = exp(-1.0); } ```