Skip to content

[Swift 3.1 branch] Fall back to the AssignExprs startLoc when the EqualLoc is invalid #7079

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
Jan 27, 2017

Conversation

mxswd
Copy link
Contributor

@mxswd mxswd commented Jan 27, 2017

Merge into swift 3.1 branch of #7042

rdar://problem/30157756

mxswd and others added 2 commits January 27, 2017 15:48
SIL Location diagnostics point at the getLoc, so when the EqualLoc is invalid we get no loc, while the startLoc is a fine alternative for these types of diagnostics.
@mxswd
Copy link
Contributor Author

mxswd commented Jan 27, 2017

@swift-ci please test

@mxswd mxswd requested a review from jrose-apple January 27, 2017 04:51
@tkremenek tkremenek merged commit 8ea6cfb into swiftlang:swift-3.1-branch Jan 27, 2017
@mxswd mxswd deleted the swift-3.1-branch branch January 27, 2017 06:57
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.

3 participants