http://d.puremagic.com/issues/show_bug.cgi?id=4460
--- Comment #2 from Don <[email protected]> 2010-09-29 00:24:30 PDT --- The regression was introduced in svn 218, static arrays as values. The relevant change was in statement.c, ForeachStatement::semantic. --- case Taarray: if (!checkForArgTypes()) return this; taa = (TypeAArray *)tab; if (dim < 1 || dim > 2) { error("only one or two arguments for associative array foreach"); break; } -#if 0 +#if 1 /* This currently fails if Key or Value is a static array. * The fix is to make static arrays a value type, not the * kludge they currently are. */ tab = taa->impl->type; goto Lagain; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
