Bug 23929 – in operator on noreturn associative array causes dmd crash

Status
NEW
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-05-20T00:17:59Z
Last change time
2024-12-13T19:29:08Z
Keywords
ice-on-valid-code
Assigned to
No Owner
Creator
elpenguino+D
Moved to GitHub: dmd#20285 →

Comments

Comment #0 by elpenguino+D — 2023-05-20T00:17:59Z
A simple one-liner: ``` if (assert(0) in int[noreturn].init) {} ```
Comment #1 by robert.schadek — 2024-12-13T19:29:08Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20285 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB