Skip to content

[5.0] [Key paths] Map Hashable conformances for subscript indexes out of context #21267

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

Conversation

DougGregor
Copy link
Member

SILGen et al where expecting interface types, so make sure that's how we
record them. Fixes rdar://problem/46632723.

@DougGregor DougGregor requested a review from a team as a code owner December 12, 2018 22:20
@DougGregor
Copy link
Member Author

@swift-ci please test

…ntext.

When SILGen maps the subscript indices used in a keypath out of context,
also map the conformance to Hashable. Fixes rdar://problem/46632723.

(cherry picked from commit 0a2e726)
@DougGregor DougGregor force-pushed the keypath-hashable-subscript-indices-5.0 branch from f8b1b8f to 45f6014 Compare December 12, 2018 22:29
@DougGregor
Copy link
Member Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - f8b1b8fa8d7ad3e80ae7278caa9b1c107fcbb2ea

@AnnaZaks AnnaZaks merged commit 2ee7464 into swiftlang:swift-5.0-branch Dec 13, 2018
@DougGregor DougGregor deleted the keypath-hashable-subscript-indices-5.0 branch December 13, 2018 04:11
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.

3 participants