@@ -1795,7 +1795,7 @@ trait Applications extends Compatibility {
17951795 * available in 3.0-migration if mode `Mode.OldImplicitResolution` is turned on as well.
17961796 * It is used to highlight differences between Scala 2 and 3 behavior.
17971797 *
1798- * - In Scala 3.0-3.4 , the behavior is as follows: `T <:p U` iff there is an impliit conversion
1798+ * - In Scala 3.0-3.5 , the behavior is as follows: `T <:p U` iff there is an impliit conversion
17991799 * from `T` to `U`, or
18001800 *
18011801 * flip(T) <: flip(U)
@@ -1810,15 +1810,14 @@ trait Applications extends Compatibility {
18101810 * of parameters are not affected. So `T <: U` would imply `Set[Cmp[U]] <:p Set[Cmp[T]]`,
18111811 * as usual, because `Set` is non-variant.
18121812 *
1813- * - From Scala 3.5 , `T <:p U` means `T <: U` or `T` convertible to `U`
1813+ * - From Scala 3.6 , `T <:p U` means `T <: U` or `T` convertible to `U`
18141814 * for overloading resolution (when `preferGeneral is false), and the opposite relation
18151815 * `U <: T` or `U convertible to `T` for implicit disambiguation between givens
18161816 * (when `preferGeneral` is true). For old-style implicit values, the 3.4 behavior is kept.
18171817 * If one of the alternatives is a given and the other is an implicit, the given wins.
18181818 *
1819- * - In Scala 3.5-migration, use the 3.5 scheme normally, and the 3.4 scheme if
1820- * `Mode.OldImplicitResolution` is on. This is used to highlight differences in the
1821- * two resolution schemes.
1819+ * - In Scala 3.5 and Scala 3.6-migration, we issue a warning if the result under
1820+ * Scala 3.6 differ wrt to the old behavior up to 3.5.
18221821 *
18231822 * Also and only for given resolution: If a compared type refers to a given or its module class, use
18241823 * the intersection of its parent classes instead.
@@ -1844,8 +1843,8 @@ trait Applications extends Compatibility {
18441843 || ! alt1isGiven && ! alt2isGiven
18451844 then
18461845 // Intermediate rules: better means specialize, but map all type arguments downwards
1847- // These are enabled for 3.0-3.4 , and for all comparisons between old-style implicits,
1848- // and in 3.5-migration when we compare with previous rules.
1846+ // These are enabled for 3.0-3.5 , and for all comparisons between old-style implicits,
1847+ // and in 3.5 amd 3.6 -migration when we compare with previous rules.
18491848 val flip = new TypeMap :
18501849 def apply (t : Type ) = t match
18511850 case t @ AppliedType (tycon, args) =>
0 commit comments