Skip to content

[cxx-interop] Support foreing reference types in generic context #80270

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
Mar 26, 2025

Conversation

Xazax-hun
Copy link
Contributor

Print the type traits in reverse interop to enable the use of foreign reference type in generics like Swift arrays. Also make sure optional foreign reference types can be passed around as raw pointers.

rdar://108139769

Print the type traits in reverse interop to enable the use of foreign
reference type in generics like Swift arrays. Also make sure optional
foreign reference types can be passed around as raw pointers.

rdar://108139769
@Xazax-hun Xazax-hun added the c++ interop Feature: Interoperability with C++ label Mar 25, 2025
@Xazax-hun
Copy link
Contributor Author

@swift-ci please smoke test

Copy link
Contributor

@egorzhdan egorzhdan left a comment

Choose a reason for hiding this comment

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

LGTM, awesome!

@Xazax-hun Xazax-hun merged commit 9d6305c into main Mar 26, 2025
3 checks passed
@Xazax-hun Xazax-hun deleted the gaborh/opt-foreign-reference-type branch March 26, 2025 15:44
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.

2 participants