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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 16 07:18:33 UTC 2022


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

          Issue ID: 22881
           Summary: ICE Index of array outside of bounds at CTFE
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: alphaglosined at gmail.com

This appears to have been introduced in 2.080.0/2.080.1.

Code:

static bar = "hello".ptr[0 .. 6];

Output:

Error: unknown, please file report on issues.dlang.org

--


More information about the Digitalmars-d-bugs mailing list