You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (fntpe.paramInfos.hasSameLengthAs(args) || ctx.phase.prev.relaxedTyping)
300
-
if fntpe.isCaptureDependent then
301
-
fntpe.resultType.substParams(fntpe, args.tpes)
302
-
else
303
-
safeSubstMethodParams(fntpe, args.tpes)
301
+
safeSubstMethodParams(fntpe, args.tpes)
304
302
else
305
303
errorType(i"wrong number of arguments at ${ctx.phase.prev} for $fntpe: ${fn.tpe}, expected: ${fntpe.paramInfos.length}, found: ${args.length}", tree.srcPos)
0 commit comments