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