Skip to content

Commit e2d78ff

Browse files
committed
Fix previous merge breakage
A clause was accidentally disabled fir debugging purposes.
1 parent 219149f commit e2d78ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/TypeAssigner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ trait TypeAssigner {
362362
def assignType(tree: untpd.Apply, fn: Tree, args: List[Tree])(implicit ctx: Context) = {
363363
val ownType = fn.tpe.widen match {
364364
case fntpe: MethodType =>
365-
if (sameLength(fntpe.paramInfos, args) || ctx.phase.prev.relaxedTyping || true)
365+
if (sameLength(fntpe.paramInfos, args) || ctx.phase.prev.relaxedTyping)
366366
if (fntpe.isDependent) safeSubstParams(fntpe.resultType, fntpe.paramRefs, args.tpes)
367367
else fntpe.resultType
368368
else

0 commit comments

Comments
 (0)