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

Forbid single '_' in case expr and case methods #2269

Merged
merged 1 commit into from
Oct 11, 2017
Merged

Conversation

mfelsche
Copy link
Contributor

as the else clause is equivalent. Error messages for case expr tell users to use an else clause.
For case methods there is no equivalent, but this has not been workin before anyways.

This fixes a part of #2253

as the else clause is equivalent. Error messages for case expr tell users to use an else clause.
For case methods there is no equivalent, but this has not been workin before anyways.
@jemc jemc added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Oct 11, 2017
jemc referenced this pull request Oct 11, 2017
as the else clause is equivalent. Error messages for case expr tell users to use an else clause.
For case methods there is no equivalent, but this has not been workin before anyways.
@jemc jemc merged commit 8b58c18 into master Oct 11, 2017
@jemc jemc deleted the case-methods-dontcare2 branch October 11, 2017 14:54
ponylang-main added a commit that referenced this pull request Oct 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants