comparison dmd/statement.c @ 1358:78038e540342

Fix overload resolution issue in dmd bug 313/314 fix.
author Christian Kamm <kamm incasoftware de>
date Sat, 16 May 2009 12:17:33 +0200
parents e961851fb8be
children 8026319762be
comparison
equal deleted inserted replaced
1357:48747003a5de 1358:78038e540342
1275 { 1275 {
1276 error("invalid foreach aggregate %s", aggr->toChars()); 1276 error("invalid foreach aggregate %s", aggr->toChars());
1277 return this; 1277 return this;
1278 } 1278 }
1279 1279
1280 inferApplyArgTypes(op, arguments, aggr); 1280 inferApplyArgTypes(op, arguments, aggr, sc->module);
1281 1281
1282 /* Check for inference errors 1282 /* Check for inference errors
1283 */ 1283 */
1284 if (dim != arguments->dim) 1284 if (dim != arguments->dim)
1285 { 1285 {