http://d.puremagic.com/issues/show_bug.cgi?id=3021
Don <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |[email protected] --- Comment #1 from Don <[email protected]> 2009-08-25 04:18:40 PDT --- Patch for the first case: enum.c, EnumDeclaration::semantic, line 109 assert(e->dyncast() == DYNCAST_EXPRESSION); e = e->semantic(sce); - e = e->optimize(WANTvalue); + e = e->optimize(WANTvalue | WANTinterpret); // Need to copy it because we're going to change the type e = e->copy(); e = e->implicitCastTo(sc, memtype); - e = e->optimize(WANTvalue); + e = e->optimize(WANTvalue | WANTinterpret); number = e->toInteger(); e->type = t; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
