[Issue 13370] Allow @nogc delegates in foreach

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Aug 24 11:59:35 PDT 2014


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

Ketmar Dark <ketmar at ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ketmar at ketmar.no-ip.org

--- Comment #1 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
seems that this request is a child of misunderstanding. delegate body in this
case includes 'write()', which is not @nogc. if we'll remove write(), dmd will
correctly infer @nogc attribute.

--


More information about the Digitalmars-d-bugs mailing list