Thread overview
[Issue 13688] 'in' expression for AA not detected as GC usage
Dec 08, 2021
Stanislav Blinov
Dec 17, 2022
Iain Buclaw
December 08, 2021
https://issues.dlang.org/show_bug.cgi?id=13688

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

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

--- Comment #1 from Stanislav Blinov <stanislav.blinov@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.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=13688

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

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

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/18905

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--