Skip to content

SIL: Correctly substitute type parameters in opened existential types #19783

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
Oct 9, 2018

Conversation

slavapestov
Copy link
Contributor

This wasn't possible when the SIL cloner was first written, but subclass
existentials can involve generic classes, so you can have an opened
archetype type with a superclass constraint involving a type constraint.

@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

This wasn't possible when the SIL cloner was first written, but subclass
existentials can involve generic classes, so you can have an opened
archetype type with a superclass constraint involving a type constraint.
@slavapestov slavapestov force-pushed the fix-arnold-corner-case branch from 1e1a944 to ac76643 Compare October 9, 2018 00:02
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov slavapestov merged commit c8e661e into swiftlang:master Oct 9, 2018
@aschwaighofer
Copy link
Contributor

This fixes SR-8901

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