Remove LDC-specific callable literal kind inference hack.

This commit is contained in:
David Nadlinger
2013-01-04 06:22:57 +01:00
parent 5c518a16ec
commit 26217eabb2
2 changed files with 2 additions and 21 deletions
+1 -1
View File
@@ -1006,7 +1006,7 @@ Type *functionParameters(Loc loc, Scope *sc, TypeFunction *tf,
Type *pt = p->type;
if (tf->varargs == 2 && i + 1 == nparams && pt->nextOf())
pt = pt->nextOf();
arg = arg->inferType(pt, 2);
arg = arg->inferType(pt);
(*arguments)[i] = arg;
}