Skip to content

[cursor-info] Tweak check to not report parent_loc on locals in body #9341

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 1 commit into from
May 5, 2017

Conversation

benlangmuir
Copy link
Contributor

We were checking only for the specific loc of the declaration of the
param, but that didn't handle references to a local parameter inside the
body.

rdar://problem/32019195

We were checking only for the specific loc of the declaration of the
param, but that didn't handle references to a local parameter inside the
body.

rdar://problem/32019195
@benlangmuir benlangmuir requested a review from nkcsgexi May 5, 2017 17:54
@benlangmuir
Copy link
Contributor Author

@swift-ci please smoke test and merge

@nkcsgexi
Copy link
Contributor

nkcsgexi commented May 5, 2017

LGTM!

@benlangmuir
Copy link
Contributor Author

@swift-ci please smoke test macos

@benlangmuir
Copy link
Contributor Author

@swift-ci please smoke test linux

@benlangmuir benlangmuir merged commit cf49177 into swiftlang:master May 5, 2017
@benlangmuir benlangmuir deleted the tweak-param-cursor branch May 5, 2017 19:50
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