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 d00a472 commit 15ea692Copy full SHA for 15ea692
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -4378,7 +4378,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
4378
(dty ne ty) && ty.isInstanceOf[TypeVar] && dty.isInstanceOf[TypeVar]
4379
}, StopAt.Static, forceLazy = false)
4380
&& doesntContainsWildcards then
4381
- constrainResult(tree.symbol, wtp, wildApprox(pt1))
+ withoutMode(Mode.ImplicitsEnabled)(constrainResult(tree.symbol, wtp, wildApprox(pt1)))
4382
val arg = inferImplicitArg(formal, tree.span.endPos)
4383
4384
def canProfitFromMoreConstraints =
0 commit comments