This segfaults at runtime with DMD v2.100.1:
```
struct S {
string[] delegate() dg;
string[] bla;
}
immutable S s = {
dg: () => ["hello"], // works with explicit `delegate() => …`
bla: ["blub"],
};
void main() @safe {
import std.stdio;
writeln(s.bla); // segfault
}
```
Works fine with LDC.
Comment #1 by robert.schadek — 2024-12-13T19:24:23Z