You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_docs/reference/changed-features/overload-resolution.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ and is therefore also approximated with a `? => ?` type.
95
95
## Default Arguments Are No longer Relevant for Prioritization
96
96
97
97
In Scala 2 if among several applicative alternatives one alternative had default arguments, that alternative was dropped from consideration. This has the unfortunate
98
-
side effect that adding a default parameter to a method can change render this method
98
+
side effect that adding a default to a parameter of a method can render this method
99
99
invisible in overloaded calls.
100
100
101
101
Scala 3 drops this distinction. Methods with default parameters are not treated
0 commit comments