http://d.puremagic.com/issues/show_bug.cgi?id=3809
--- Comment #2 from Don <[email protected]> 2010-04-23 12:51:54 PDT --- Starting with the simple thing: the missing line number in the division by 0 error message. PATCH: interpret.c, near the start of BinExp::interpretAssignCommon(). else if (e1->op != TOKslice) { /* Look for special case of struct being initialized with 0. */ if (type->toBasetype()->ty == Tstruct && newval->op == TOKint64) { - newval = type->defaultInitLiteral(); + newval = type->defaultInitLiteral(loc); } newval = Cast(type, type, newval); e = newval; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
