Thread overview
[Issue 22506] Accessing immutable AA in @nogc with index results in compilation error
Dec 17, 2022
Iain Buclaw
December 14, 2021
https://issues.dlang.org/show_bug.cgi?id=22506

--- Comment #1 from muhammed.yucel@bosagora.io ---
Documentation (1) states the "why" for this error but I think it is also wrong. RangeError is statically allocated thus GC shouldn't be a problem but the actual problem is a new key may be allocated when indexing an AA (left side).


1: https://dlang.org/spec/function.html#nogc-functions

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

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

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

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

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

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

--