[Issue 13060] @nogc reading an associative array

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 2 11:02:45 PDT 2017


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

Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86                         |All
                 OS|Windows                     |All

--- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
If the index is not in the AA, then a RangeError is thrown. The error is
currently allocated on the GC heap.

The "in" operator is @nogc, though.

--


More information about the Digitalmars-d-bugs mailing list