[Issue 15607] [ICE] CTFE internal error: bad compare on accessing default-initialized static immutable array of array
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu May 19 21:43:46 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=15607
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Mathias Lang from comment #5)
> This segv all the same:
>
> ```
> private static immutable char[2][ubyte.max + 1] code_base = [ "??" ];
> ```
>
> and so does:
>
> ```
> private static immutable char[2][ubyte.max + 1] code_base = [ [ '?', '?' ] ];
> ``
Neither of these seg fault when I put them in a file and compile them.
--
More information about the Digitalmars-d-bugs
mailing list