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: [email protected]
Reporter: [email protected]
-----
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.
--