Skip to content

[IRGen] Pass component generic sig when emitting key path component f… #64871

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 2 commits into from
Apr 7, 2023

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Apr 3, 2023

…or external property

rdar://101179225

When no generic environment was present, we passed nullptr, which is not correct when the property uses an external associated type, causing crashes in IRGen. In those cases, we have to pass the component generic sig instead.

…or external property

rdar://101179225

When no generic environment was present, we passed nullptr, which is not correct when the property uses an external associated type, causing crashes in IRGen. In those cases, we have to pass the component generic sig instead.
@drexin
Copy link
Contributor Author

drexin commented Apr 3, 2023

@swift-ci smoke test

@drexin drexin requested a review from aschwaighofer April 3, 2023 18:30
@drexin
Copy link
Contributor Author

drexin commented Apr 3, 2023

@swift-ci smoke test linux

@drexin
Copy link
Contributor Author

drexin commented Apr 3, 2023

@swift-ci smoke test windows

@drexin
Copy link
Contributor Author

drexin commented Apr 3, 2023

@swift-ci test

@drexin
Copy link
Contributor Author

drexin commented Apr 3, 2023

@swift-ci test macos

Copy link
Contributor

@aschwaighofer aschwaighofer left a comment

Choose a reason for hiding this comment

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

LGTM but maybe @jckarter wants to chime in

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