[Issue 16047] Range violation in setting multi-dimensional AA entries
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 20 15:27:45 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=16047
--- Comment #3 from FeepingCreature <default_357-line at yahoo.de> ---
What happens here is that the complex expression for the first index forces DMD
to allocate a temporary. In the course of doing so, it forgets to indicate that
the temporary is for a nested assignment, and the temporary (which is a plain
IndexExp, not an assignment) runs into a range error.
--
More information about the Digitalmars-d-bugs
mailing list