Skip to content

Fall back to the AssignExprs startLoc when the EqualLoc is invalid #7042

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 26, 2017
Merged

Fall back to the AssignExprs startLoc when the EqualLoc is invalid #7042

merged 2 commits into from
Jan 26, 2017

Conversation

mxswd
Copy link
Contributor

@mxswd mxswd commented Jan 26, 2017

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.

rdar://30157756

mxswd and others added 2 commits January 25, 2017 15:09
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 mxswd requested a review from jrose-apple January 26, 2017 01:36
@jrose-apple
Copy link
Contributor

@swift-ci Please smoke test

@jrose-apple jrose-apple self-assigned this Jan 26, 2017
@mxswd mxswd merged commit efef86d into swiftlang:master Jan 26, 2017
@mxswd mxswd deleted the assign-expr-getloc branch January 26, 2017 09:47
@mxswd mxswd restored the assign-expr-getloc branch January 26, 2017 09:48
@mxswd mxswd deleted the assign-expr-getloc branch January 27, 2017 05:17
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