Branch: Tag:

2016-01-04

2016-01-04 14:57:56 by Per Hedbor <ph@opera.com>

Fixed auto value type for foreach

3103:    {    if(val_type) copy_pike_type(*val_type,value_type);    } -  if (!pike_types_le(value_type, CDR(lvalues)->type)) { +  else if (!pike_types_le(value_type, CDR(lvalues)->type)) {    int level = REPORT_NOTICE;    if (!match_types(CDR(lvalues)->type, value_type)) {    level = REPORT_ERROR;