digitalmars.D.bugs - [Issue 21236] New: Associative array opApply is not nothrow
- d-bugmail puremagic.com (27/27) Sep 10 2020 https://issues.dlang.org/show_bug.cgi?id=21236
https://issues.dlang.org/show_bug.cgi?id=21236 Issue ID: 21236 Summary: Associative array opApply is not nothrow Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical Priority: P1 Component: druntime Assignee: nobody puremagic.com Reporter: andrej.mitrovich gmail.com ----- void main () nothrow { int[int] map; foreach (pair; map.byKeyValue) // OK { } foreach (key, val; map) // Error: `_aaApply2` is not `nothrow` { } } ----- I couldn't find a related issue for AA's that was still open. --
Sep 10 2020