Skip to content

Conversation

aschwaighofer
Copy link
Contributor

…istentials not to be an address

rdar://46343977

…istentials not to be an address

rdar://46343977
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test and merge

Copy link
Contributor

@rjmccall rjmccall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

base.getType().getPreferredExistentialRepresentation(SGF.SGM.M) ==
ExistentialRepresentation::Boxed) &&
"base value of open-existential component was not an address or a "
"boxed existential?");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's weird that boxed existentials end up in OpenOpaqueExistentialComponent, but I see that there's code there explicitly to handle them, so I guess it's as-intended.

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