We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36a74b0 commit e1cc065Copy full SHA for e1cc065
compiler/src/dotty/tools/dotc/typer/Applications.scala
@@ -1981,12 +1981,6 @@ trait Applications extends Compatibility {
1981
case 0 =>
1982
if winsType1 != winsType2 then if winsType1 then 1 else -1
1983
else if alt1.symbol == alt2.symbol then comparePrefixes
1984
- else if preferGeneral then
1985
- // For implicit resolution, take ownerscore as more significat than type resoltion
1986
- // Reason: People use owner hierarchies to explicitly prioritize, we should not
1987
- // break that by changing implicit priority of types. On the other hand we do want
1988
- // to comparePrefixes if there is a draw; StringFormaterTest breaks if we don't do that.
1989
- ownerScore
1990
else 0
1991
end compareWithTypes
1992
0 commit comments