[Issue 19639] Initializing static array with slice enum of different length crashes the compiler

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 5 19:54:37 UTC 2019


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

kinke at gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |ice-on-valid-code
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from kinke at gmx.net ---
This is apparently valid code since v2.066, as is `char[64] = "abc"`. -
https://github.com/dlang/dmd/pull/9321 fixes the segfault and a
read-beyond-buffer bug.

--


More information about the Digitalmars-d-bugs mailing list