File tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1865,7 +1865,7 @@ trait Applications extends Compatibility {
1865
1865
* - From Scala 3.6, `T <:p U` means `T <: U` or `T` convertible to `U`
1866
1866
* for overloading resolution (when `preferGeneral is false), and the opposite relation
1867
1867
* `U <: T` or `U convertible to `T` for implicit disambiguation between givens
1868
- * (when `preferGeneral` is true). For old-style implicit values, the 3.4 behavior is kept.
1868
+ * (when `preferGeneral` is true).
1869
1869
*
1870
1870
* - In Scala 3.5 and Scala 3.6-migration, we issue a warning if the result under
1871
1871
* Scala 3.6 differ wrt to the old behavior up to 3.5.
@@ -2011,7 +2011,7 @@ trait Applications extends Compatibility {
2011
2011
if strippedType2 eq fullType2
2012
2012
then drawOrOwner // no implicits either side: its' a draw
2013
2013
else 1 // prefer 1st alternative with no implicits
2014
- else if strippedType2 eq fullType2 then - 1 // prefer 2nd alternative with no implicits
2014
+ else if strippedType2 eq fullType2 then - 1 // prefer 2nd alternative with no implicits
2015
2015
else compareWithTypes(fullType1, fullType2) // continue by comparing implicits parameters
2016
2016
}
2017
2017
end compare
You can’t perform that action at this time.
0 commit comments