Skip to content

Enforce -new-syntax under -language:future #23443

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jun 27, 2025

No more Java style conditionals and loops. Always requires then/do.

Also: Enforce latest given syntax, instead of the intermediate one. The two were rolled into one PR because they require changing the same submodules.

odersky added 5 commits June 27, 2025 17:53
No more Java style conditionals and loops. Always requires then/do.
It warned before, but did not error. However, the idea is that under -source future we
should enforce the new rules that we have defined everywhere.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants