Skip to content

[sil-devirtualizer] Fix devirtualization of partial_apply on generic witness_methods #8667

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
Apr 10, 2017

Conversation

swiftix
Copy link
Contributor

@swiftix swiftix commented Apr 10, 2017

Properly cast the result of a devirtualized partial_apply, because this may be required in case of classes implementing protocols. More specifically, it came up when there is a derived class of a class implementing an initializer required by the protocol.

Resolves rdar://31459426 (SR-4501) and rdar://31479426 (SR-3476)

…witness_methods

Properly cast the result of a devirtualized partial_apply, because this may be required in case of classes implementing protocols. More specifically, it came up when there is a derived class of a class implementing an initializer required by the protocol.

Fixes rdar://31459426 (SR-4501) and rdar://31479426 (SR-3476)
@swiftix
Copy link
Contributor Author

swiftix commented Apr 10, 2017

@swift-ci please smoke test

@swiftix
Copy link
Contributor Author

swiftix commented Apr 10, 2017

@swift-ci please test

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.

1 participant