Skip to content

Commit 8746422

Browse files
committed
More feature words, C.apply adaptation
1 parent cc111ca commit 8746422

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_overviews/scala3-migration/tooling-scala2-xsource3.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ it is recommended to either specify them explicitly or fix them to the grouped f
106106
| Leading infix operators continue the previous line <sup>1</sup> (`leading-infix`) | fatal warning, second line is a separate expression | operation continues the previous line |
107107
| Desugaring of string interpolators using `StringContext` (`string-context-scope`) | fatal warning if the interpolation references a `StringContext` in scope different from `scala.StringContext` | desugaring always uses `scala.StringContext` |
108108
| An implicit for type `p.A` is found in the package prefix `p` (`package-prefix-implicits`) | fatal warning | the package prefix `p` is no longer part of the implicit search scope |
109-
| (`implicit-resolution`) | fatal warning | use Scala-3-style downwards comparisons for implicit search and overloading resolution |
110-
| (`case-apply-copy-access`) | warning | constructor modifiers are used for apply / copy methods of case classes |
111-
| (`case-companion-function`) | warning | synthetic case companion objects no longer extend FunctionN |
112-
| (`infer-override`) | warning | inferred type of member uses type of overridden member |
109+
| Specificity during implicit search (`implicit-resolution`) | fatal warning | use Scala-3-style downwards comparisons for implicit search and overloading resolution |
110+
| Modifiers of synthetic methods (`case-apply-copy-access`) | fatal warning | constructor modifiers are used for apply / copy methods of case classes |
111+
| Companions are Functions (`case-companion-function`) | fatal warning at use site | synthetic case companion objects no longer extend FunctionN, but are adapted at use site with warning |
112+
| Override type inference (`infer-override`) | fatal warning | inferred type of member uses type of overridden member |
113113

114114
Example 1:
115115

0 commit comments

Comments
 (0)