mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-15 01:37:00 +02:00
Remove LDC-specific callable literal kind inference hack.
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user