[Issue 23929] New: in operator on noreturn associative array causes dmd crash

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 20 00:17:59 UTC 2023


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

          Issue ID: 23929
           Summary: in operator on noreturn associative array causes dmd
                    crash
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: elpenguino+D at gmail.com

A simple one-liner:
```
if (assert(0) in int[noreturn].init) {}
```

--


More information about the Digitalmars-d-bugs mailing list