Skip to content

[parser][SR-510] add diagnose for non-expr case raw value #931

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

Closed
wants to merge 2 commits into from

Conversation

dduan
Copy link
Contributor

@dduan dduan commented Jan 10, 2016

When a case's raw value is not considered as a valid expression, generate a diagnose instead of silently quite.

This resolves SR-510

When a `case`'s raw value is not considered as a valid expression, generate
a diagnose instead of silently quite.

Previously this gets a silent exit. This change resolves
[SR-510](https://bugs.swift.org/browse/SR-510).
@jder
Copy link
Contributor

jder commented Jan 10, 2016

Just wanted to mention we're having a discussion about this in the attached bug report.

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.

2 participants