Skip to content

[interop][SwiftToCxx] initial generic enum support #61107

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 3 commits into from
Sep 14, 2022

Conversation

hyp
Copy link
Contributor

@hyp hyp commented Sep 14, 2022

This supports generic enums, including getting a generic associated value. The one thing that's not supported yet is the construction of generic enum values. This will allow Optional to be bridged.

@hyp hyp added the c++ interop Feature: Interoperability with C++ label Sep 14, 2022
@hyp hyp requested review from egorzhdan and zoecarver September 14, 2022 19:34
@hyp
Copy link
Contributor Author

hyp commented Sep 14, 2022

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented Sep 14, 2022

@swift-ci please test source compatibility

@hyp hyp changed the title initial generic enum support [interop][SwiftToCxx] initial generic enum support Sep 14, 2022
@hyp
Copy link
Contributor Author

hyp commented Sep 14, 2022

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented Sep 14, 2022

@swift-ci please test source compatibility

@hyp hyp merged commit 5e8dc12 into swiftlang:main Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant