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 f4d87a5 commit 6a98e3aCopy full SHA for 6a98e3a
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -4408,7 +4408,6 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
4408
4409
arg.tpe match
4410
case failed: SearchFailureType if canProfitFromMoreConstraints =>
4411
- val pt1 = pt.deepenProtoTrans
4412
if (pt1 `ne` pt) && (pt1 ne sharpenedPt) && tryConstrainResult(pt1) then
4413
return implicitArgs(formals, argIndex, pt1)
4414
case _ =>
0 commit comments