[Issue 12218] [AA] inserting into associative array invalidates foreach iteration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 28 06:35:34 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12218


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #6 from bearophile_hugs at eml.cc 2014-02-28 06:35:25 PST ---
(In reply to comment #5)
> I can confirm this was not intended to work, and it most likely never will.  It
> should be possible for the compiler to detect this and give you an error.

Yes, while fixing it in general is probably not possible, giving a good
compile-time error is a good thing.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list