Skip to content

Allow with after class #11157

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 9 commits into from
Jan 20, 2021
Merged

Allow with after class #11157

merged 9 commits into from
Jan 20, 2021

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jan 19, 2021

Allow with after class, object, trait, enum. This is a trial to test the proposed syntax changes.

If a type is implemented, it must be an `AnnotType`, which is the only
kind of type allowed in a ConstrApp or extends clause.
Also: generalize notion to get next token while suppressing
indentation insertion
@odersky odersky merged commit 26398f4 into scala:master Jan 20, 2021
@odersky odersky deleted the with-templates-3 branch January 20, 2021 21:31
@anatoliykmetyuk anatoliykmetyuk added the release-notes Should be mentioned in the release notes label Feb 10, 2021
@ShapelessCat ShapelessCat mentioned this pull request Feb 17, 2021
35 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes Should be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants