[Issue 9057] Regression(Beta): Segfault or "Non-constant expression" error with local import

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Sep 13 01:35:47 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=9057

--- Comment #3 from github-bugzilla at puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/069f570005c1e571f23cd046b0e89503e2553f70
Add workaround for issue 9057, which is equivalent with the before

This is not a new workaround. In previous, the forward reference of struct
instance fields had been resolved implicitly in 
`sd->fields[i].getConstInitializer()`, via `sd->fill()`.

--


More information about the Digitalmars-d-bugs mailing list