Skip to content

IDE: Don't crash in type reconstruction if local types contain subscripts #15285

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
Mar 16, 2018

Conversation

slavapestov
Copy link
Contributor

This is just a workaround to unblock something else I'm doing.
We're still not able to find the local declarations properly.

…ipt or deinit

This is just a workaround to unblock something else I'm doing.
We're still not able to find the local declarations properly.
@slavapestov
Copy link
Contributor Author

@dcci Hey we were feeding special DeclNames to unqualified lookup, which triggers an assert. This patch just dodges the assert without fixing the lookup at all. I hope it doesn't cause any major merge conflicts for your work, you can just revert it once you redo this code path. I need it to unblock #15201.

@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov slavapestov merged commit aae4db0 into swiftlang:master Mar 16, 2018
@dcci
Copy link
Member

dcci commented Mar 19, 2018

@slavapestov no, this is fine, thanks for taking care of this. I'll revert once we have a better story for type reconstruction.

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