http://d.puremagic.com/issues/show_bug.cgi?id=3668
Don <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |[email protected] --- Comment #1 from Don <[email protected]> 2010-01-04 07:24:58 PST --- There's a missing toBaseType() in the Foreach code which was introduced in D2.032. PATCH: statement.c, line 1525, in ForeachStatement::semantic(): ------ Identifier *id = Lexer::uniqueId("__aggr"); ExpInitializer *ie = new ExpInitializer(loc, new SliceExp(loc, aggr, NULL, NULL)); - VarDeclaration *tmp = new VarDeclaration(loc, aggr->type->nextOf()->arrayOf(), id, ie); + VarDeclaration *tmp = new VarDeclaration(loc, aggr->type->toBasetype()->nextOf()->arrayOf(), id, ie); Expression *tmp_length = new DotIdExp(loc, new VarExp(loc, tmp), Id::length); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
