Skip to content

Fix #8982: Insert colons when rewriting classes to indentation syntax #9002

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 2 commits into from
May 25, 2020

Conversation

odersky
Copy link
Contributor

@odersky odersky commented May 19, 2020

Also, allow for { under -new-syntax

@nicolasstucki nicolasstucki linked an issue May 19, 2020 that may be closed by this pull request
@odersky odersky marked this pull request as ready for review May 19, 2020 12:40
@odersky odersky requested a review from liufengyun May 24, 2020 16:16
Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

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

LGTM

What about improving the infrastructure to test rewrite?

Edited: we already have the infrastructure 3841231

@liufengyun
Copy link
Contributor

Merging this first, I'll create another PR to test rewrites.

@liufengyun liufengyun merged commit 1363843 into scala:master May 25, 2020
@liufengyun liufengyun deleted the fix-#8982 branch May 25, 2020 08:54
@liufengyun liufengyun mentioned this pull request May 25, 2020
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.

-rewrite -indent doesn't add colons where required
2 participants