Skip to content

Add 3.3.0 announcement #1505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions blog/_posts/2023-05-30-scala-3.3.0-released.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ class TestSuite extends munit.FunSuite:
assert(job.isSuccess)
```

For the record, the braceless syntax has been introduced in Scala 3.0.0. However, braces were still needed to pass function arguments. Martin Odersky proposed to address this point in the proposal [SIP-44 - Fewer braces](https://docs.scala-lang.org/sips/fewer-braces.html), which was accepted by the SIP Committee in [August 2022](https://docs.scala-lang.org/sips/results/2022-08-26-meeting.html). The final implementation was released as an experimental feature in [Scala 3.2.0](https://github.com/lampepfl/dotty/releases/tag/3.2.0) in September. Finally, in [October](https://docs.scala-lang.org/sips/results/2022-10-21-meeting.html), the SIP Committee voted to promote it to a stable feature.

### `boundary` and `break`

Two new methods were added to the standard library: `boundary` and `break`. They are safer and more expressive replacements for non-local returns, which were deprecated recently.
Expand Down