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: _posts/2025-09-09-release-notes-3.7.3.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Scala 3.7.3 is now available!
8
8
9
9
## Highlights of the release
10
10
11
-
### Warn when an explicit `using` argument clouse with defaults shadows `given` in the scope [#23559](https://github.com/scala/scala3/pull/23559)
11
+
### Warn when an explicit `using` argument clause with defaults shadows `given` in the scope [#23559](https://github.com/scala/scala3/pull/23559)
12
12
13
13
If a call supplies any `using` argument explicitly, `given` search is not performed for the remaining params in that clause. If a remaining param has a default, that default is used, even if a compatible `given` is in scope. This behaviour could have been confusing for users and lead to unexpected problems at runtime.
14
14
The compiler now reports a warning when default argument would be used instead of given defined in the scope.
0 commit comments