Skip to content

Clang Importer: Set the ElementType of synthesized SubscriptDecls to the contextual generic type. #4125

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
Aug 9, 2016

Conversation

jckarter
Copy link
Contributor

@jckarter jckarter commented Aug 8, 2016

This matches what parsed SubscriptDecls do, avoiding a crash later in SILGen. Fixes SR-1576 / rdar://problem/26632701.

…the contextual generic type.

This matches what parsed SubscriptDecls do, avoiding a crash later in SILGen. Fixes rdar://problem/26632701.
@jckarter
Copy link
Contributor Author

jckarter commented Aug 8, 2016

@swift-ci Please test

@tkremenek
Copy link
Member

@swift-ci smoke test os x

@jckarter jckarter merged commit fe35d9c into swiftlang:master Aug 9, 2016
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