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 2116281 commit 5a14797Copy full SHA for 5a14797
compiler/src/dotty/tools/dotc/typer/Implicits.scala
@@ -1169,9 +1169,9 @@ trait Implicits { self: Typer =>
1169
if (level1 < level2) return false
1170
val sym1 = cand1.ref.symbol
1171
val sym2 = cand2.ref.symbol
1172
- val ownerScore = compareOwner(sym1.maybeOwner, sym2.maybeOwner)
1173
- if (ownerScore > 0) return true
1174
- if (ownerScore < 0) return false
+ // val ownerScore = compareOwner(sym1.maybeOwner, sym2.maybeOwner)
+ // if (ownerScore > 0) return true
+ // if (ownerScore < 0) return false
1175
val arity1 = sym1.info.firstParamTypes.length
1176
val arity2 = sym2.info.firstParamTypes.length
1177
if (arity1 < arity2) return true
0 commit comments