Skip to content
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

Make fewerBraces a standard feature #16297

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Nov 7, 2022

Enables fewerBraces as a standard feature from 3.3 on. No language import is needed.

The old

import language.experimental.fewerBraces

is deprecated but it still works. This is so that one can continue to mix fewerBraces in for projects compiling with earlier versions. We can turn the language import into a no-op or drop it completely when 3.3 is in the rear mirror.

@bishabosha bishabosha added the needs-minor-release This PR cannot be merged until the next minor release label Nov 7, 2022
@odersky odersky added this to the 3.3.0-RC1 milestone Nov 8, 2022
Enables fewerBraces as a standard feature from 3.3 on. No language
import is needed.
@odersky odersky requested a review from tgodzik November 8, 2022 08:16
tgodzik added a commit to tgodzik/scalameta that referenced this pull request Nov 8, 2022
tgodzik added a commit to tgodzik/scalameta that referenced this pull request Nov 8, 2022
tgodzik added a commit to tgodzik/scalameta that referenced this pull request Nov 8, 2022
Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, following up in the scalameta.

tgodzik added a commit to tgodzik/scalameta that referenced this pull request Nov 8, 2022
tgodzik added a commit to tgodzik/scalameta that referenced this pull request Nov 8, 2022
tgodzik added a commit to tgodzik/scalameta that referenced this pull request Nov 8, 2022
tgodzik added a commit to tgodzik/scalameta that referenced this pull request Nov 8, 2022
@odersky odersky merged commit b3f870f into scala:main Nov 8, 2022
@odersky odersky deleted the std-fewer-braces branch November 8, 2022 15:09
kitbellew pushed a commit to scalameta/scalameta that referenced this pull request Nov 8, 2022
@Kordyjan Kordyjan modified the milestones: 3.3.0-RC1, 3.3.0 Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-minor-release This PR cannot be merged until the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants