[Issue 22881] ICE Index of array outside of bounds at CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 16 11:32:59 UTC 2022


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Richard Cattermole from comment #0)
> This appears to have been introduced in 2.080.0/2.080.1.
Before 2.080.0, the error was: string slice `[0 .. 6]` is out of bounds.

Since then it was accepted as the null terminator was considered implicitly
there.

I think you meant that the internal error first appeared between
master at v2.084.1 and master at v2.085.1.  stable at 2.085.1 compiles this just fine.

--


More information about the Digitalmars-d-bugs mailing list