Skip to content

[Parse] Don't tell CodeCompletion nonsense about protocol/AT where clauses. #9419

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
May 12, 2017

Conversation

huonw
Copy link
Contributor

@huonw huonw commented May 9, 2017

This doesn't give particularly useful information yet (i.e. Self isn't
listed, see rdar://problem/31981641 ), but it does stop the completion
code from just directly crashing.

Fixes rdar://problem/31981486.

(Isn't it great when your own fixme's come back to bite you.)

@huonw
Copy link
Contributor Author

huonw commented May 9, 2017

@swift-ci Please smoke test and merge.

@slavapestov
Copy link
Contributor

@huonw the failing test is a crasher test case I added for this exact bug. If you want, you can resolve it and remove your newly-added test (or remove mine, or keep both).

@huonw
Copy link
Contributor Author

huonw commented May 10, 2017

@swift-ci Please smoke test OSX.

@huonw
Copy link
Contributor Author

huonw commented May 11, 2017

@swift-ci Please smoke test

@huonw huonw force-pushed the where-completion-crash branch from 81a9d9f to 6c274df Compare May 11, 2017 10:10
@huonw
Copy link
Contributor Author

huonw commented May 11, 2017

@swift-ci Please smoke test and merge.

@huonw
Copy link
Contributor Author

huonw commented May 11, 2017

@swift-ci Please smoke test

…auses.

This doesn't give particularly useful information yet (i.e. Self isn't
listed, see rdar://problem/31981641 ), but it does stop the completion
code from just directly crashing.

Fixes rdar://problem/31981486.
@huonw huonw force-pushed the where-completion-crash branch from 6c274df to 8c8f35e Compare May 12, 2017 06:01
@huonw
Copy link
Contributor Author

huonw commented May 12, 2017

@swift-ci Please smoke test and merge.

@huonw
Copy link
Contributor Author

huonw commented May 12, 2017

@swift-ci Please smoke test

@huonw huonw merged commit a0fe405 into swiftlang:master May 12, 2017
@huonw huonw deleted the where-completion-crash branch May 12, 2017 10:45
@huonw huonw restored the where-completion-crash branch May 17, 2017 20:29
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