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 dda91bb commit 2584cf6Copy full SHA for 2584cf6
compiler/src/dotty/tools/dotc/typer/Implicits.scala
@@ -962,9 +962,7 @@ trait Implicits:
962
.map(_.underlyingRef)
963
.distinctBy(_.denot)
964
.filter { imp =>
965
- !isImplicitDefConversion(imp.underlying)
966
- && imp.symbol != defn.Predef_conforms
967
- && canBeConverted(imp, fail.expectedType)
+ !isImplicitDefConversion(imp.underlying) && canBeConverted(imp, fail.expectedType)
968
}
969
else
970
Nil
0 commit comments