Skip to content

Clarify case _, case x #2431

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
Jun 14, 2022
Merged

Conversation

som-snytt
Copy link
Contributor

More introductory words explaining case _ => must come last, and naming in case x.

Fixes #2313

Copy link
Contributor

@julienrf julienrf left a comment

Choose a reason for hiding this comment

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

Thank you @som-snytt, this is a nice improvement!

@julienrf julienrf merged commit cb4fe58 into scala:main Jun 14, 2022
@julienrf
Copy link
Contributor

Thank you!

@som-snytt som-snytt deleted the issue/2313-default-case branch June 14, 2022 09:43
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.

catch-all-with-variable trick needs some clarification
2 participants