On Tuesday, 4 September 2018 at 03:56:25 UTC, Shigeki Karita wrote:
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); }
```

Reply via email to