August 15, 2022 [Issue 4410] AA has inconsistent and unreasonable requirements for iterating over reference-type index | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=4410 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com --- Comment #5 from RazvanN <razvan.nitu1305@gmail.com> --- Apart from the first foreach, the rest do not compile today. You can only ref an aa key if it is const. This makes sense in my opinion. @Steven, what else needs to be done to consider this issue fixed? -- |
August 16, 2022 [Issue 4410] AA has inconsistent and unreasonable requirements for iterating over reference-type index | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=4410 Steven Schveighoffer <schveiguy@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #6 from Steven Schveighoffer <schveiguy@gmail.com> --- I wrote this so so long ago. I'm not sure this bug is relevant any more. Problems still do exist with keys being not-constant for reference types (classes), but iteration is not the problem there. -- |
Copyright © 1999-2021 by the D Language Foundation