Skip to content

Commit e994aa4

Browse files
committed
Add note about using at callsite in Scala 2
1 parent 457a5ff commit e994aa4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_posts/2025-05-07-release-notes-3.7.0.md

+1
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ def givenBased(using Config) = ???
333333
```
334334

335335
Scala 3.7 provides an automated migration path for existing codebases through the compiler flags -rewrite -source:3.7-migration, which automatically inserts the recommended `using` keywords, streamlining the transition to the new syntax.
336+
Users of Scala 2 can introduce the `using` syntax at callsite into their codebase as well. The implicit based example above would successfully compile when using at least Scala 2.12.17 or Scala 2.13.9 without any additional flags.
336337

337338
### Scala 3 unblocked on Android [#22632](https://github.com/scala/scala3/pull/22632)
338339

0 commit comments

Comments
 (0)