Skip to content

[interop] bridge Swift class types across Swift -> C++ -> Swift boundary #64317

@hyp

Description

@hyp

It should be possible for Swift to import a class type that it exposed to C++ as the same class type back in Swift when importing that header.

Needs to work on and test coverage for:

  • Function/function pointers/methods/fields/objc methods/objc selectors
  • return and passing

Metadata

Metadata

Assignees

Labels

bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.c++ interopFeature: Interoperability with C++c++ to swiftFeature → c++ interop: c++ to swiftclassFeature → type declarations: Class declarationscompilerThe Swift compiler itselfswift 5.9

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions