close
Skip to content

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

Closed
dduan wants to merge 2 commits intoswiftlang:masterfrom
dduan:SR-510
Closed

[parser][SR-510] add diagnose for non-expr case raw value#931
dduan wants to merge 2 commits intoswiftlang:masterfrom
dduan:SR-510

Conversation

@dduan
Copy link
Copy Markdown
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
Copy Markdown
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