We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 219149f commit e2d78ffCopy full SHA for e2d78ff
compiler/src/dotty/tools/dotc/typer/TypeAssigner.scala
@@ -362,7 +362,7 @@ trait TypeAssigner {
362
def assignType(tree: untpd.Apply, fn: Tree, args: List[Tree])(implicit ctx: Context) = {
363
val ownType = fn.tpe.widen match {
364
case fntpe: MethodType =>
365
- if (sameLength(fntpe.paramInfos, args) || ctx.phase.prev.relaxedTyping || true)
+ if (sameLength(fntpe.paramInfos, args) || ctx.phase.prev.relaxedTyping)
366
if (fntpe.isDependent) safeSubstParams(fntpe.resultType, fntpe.paramRefs, args.tpes)
367
else fntpe.resultType
368
else
0 commit comments