[Issue 21882] New: [ICE][dip1021] src/dmd/escape.d(1850): Assertion failure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 30 11:06:44 UTC 2021


          Issue ID: 21882
           Summary: [ICE][dip1021] src/dmd/escape.d(1850): Assertion
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ibuclaw at gdcproject.org

Reduced test compiled with: -preview=dip1021
void byCodeUnit()
    struct ByCodeUnitImpl
        auto opIndex(size_t ) {}

enum isRandomAccessRange(R) = lvalueOf!R[1];
ref T lvalueOf(T)();

Going to make another reduction that works with -dip1000 but not -dip1021.


More information about the Digitalmars-d-bugs mailing list