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

Drop as in patterns #10565

Merged
merged 1 commit into from
Nov 30, 2020
Merged

Drop as in patterns #10565

merged 1 commit into from
Nov 30, 2020

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Nov 30, 2020

With the change in givens we lose a strong reason for having them now. Besides, it is not clear whether as bindings in patterns should be prefix or postfix. So, it's prudent to drop them at this stage.

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

Need to update the syntax.md file.

@odersky
Copy link
Contributor Author

odersky commented Nov 30, 2020

syntax.md is already updated.

@odersky odersky merged commit a00ccd3 into scala:master Nov 30, 2020
@odersky odersky deleted the drop-pattern-as branch November 30, 2020 21:06
@nicolasstucki nicolasstucki added the release-notes Should be mentioned in the release notes label Dec 2, 2020
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
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.

None yet

4 participants