[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
Wed Jan 27 03:52:11 PST 2016


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

--- Comment #5 from Mathias Lang <mathias.lang at sociomantic.com> ---
I just used that syntax because it is how it's defined in the original code.
However, it isn't related to this syntax, sorry if it induced confusion.

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 = [ [ '?', '?' ] ];
``

--


More information about the Digitalmars-d-bugs mailing list