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

Stanislav Blinov <stanislav.bli...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stanislav.bli...@gmail.com
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=19422

--- Comment #1 from Stanislav Blinov <stanislav.bli...@gmail.com> ---
If we go by the spec: https://dlang.org/spec/garbage.html#op_involving_gc

it explicitly lists AA lookups as GC operations. That being said, AAs outright
swallow attributes (see related issue). Regardless, if the specification is
correct with regards to GC usage, in this case at the very least `func`
shouldn't compile.

--

Reply via email to