Skip to content

[IRGen] Fix LinkEntity::isTypeKind. #80469

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 3, 2025

Conversation

nate-chandler
Copy link
Contributor

There are numerous entity kinds declared after ProtocolWitnessTableLazyAccessFunction which aren't type kinds. Group all those which are type kinds together for now. In the fullness of time it would probably we wise to replace this implementation with a switch statement so that when new kinds are added there is a chance that the type-ness of that kind can be considered.

There are numerous entity kinds declared after
`ProtocolWitnessTableLazyAccessFunction` which aren't type kinds.  Group
all those which are type kinds together for now.  In the fullness of
time it would probably we wise to replace this implementation with a
switch statement so that when new kinds are added there is a chance that
the type-ness of that kind can be considered.
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler marked this pull request as ready for review April 3, 2025 03:10
@nate-chandler nate-chandler requested a review from rjmccall as a code owner April 3, 2025 03:10
@nate-chandler nate-chandler merged commit 6647ba5 into swiftlang:main Apr 3, 2025
5 checks passed
@nate-chandler nate-chandler deleted the bug/20250402/1 branch April 3, 2025 03:10
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