[Issue 20969] alias to local in static instance of a struct causes segfault

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 9 02:17:46 UTC 2020


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|wrong-code                  |accepts-invalid
                 CC|                            |bugzilla at digitalmars.com

--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> ---
The compiler is attempting to produce a compile-time static initializer for
main.s, using a value that only exists at runtime.

This is definitely accepts-invalid, not wrong-code.

--


More information about the Digitalmars-d-bugs mailing list