September 11, 2020 [Issue 21236] New: Associative array opApply is not nothrow | ||||
|---|---|---|---|---|
| ||||
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. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply