Skip to content

Commit 6a98e3a

Browse files
committed
pt1 already exists in scope
1 parent f4d87a5 commit 6a98e3a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4408,7 +4408,6 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
44084408

44094409
arg.tpe match
44104410
case failed: SearchFailureType if canProfitFromMoreConstraints =>
4411-
val pt1 = pt.deepenProtoTrans
44124411
if (pt1 `ne` pt) && (pt1 ne sharpenedPt) && tryConstrainResult(pt1) then
44134412
return implicitArgs(formals, argIndex, pt1)
44144413
case _ =>

0 commit comments

Comments
 (0)