[Issue 2173] foreach iteration not possible for associative array indexed with static array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 2 07:12:10 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2173
------- Comment #2 from davidl at 126.com 2008-07-02 09:12 -------
umm, the patch is incorrect..
bypassing the whole test should work.
/*
if (arg->storageClass & (STCout | STCref | STClazy))
{
if (t->ty == Tsarray)
if (t->ty != Tsarray)
error(loc, "cannot have out or ref parameter of type %s",
t->toChars());
}
*/
--
More information about the Digitalmars-d-bugs
mailing list