Skip to content

Conversation

Xazax-hun
Copy link
Contributor

The generated header did not compile due to a bug that prevented us from referencing the correct namespaces derived from the nominal type's name (an extension does not have a name). Moreover, we did not generate forward declarations for the members of the extensions for classes and enums (but we did for structs). This change also removes a workaround that emitted String::Index as _String_Index.

rdar://153221450

The generated header did not compile due to a bug that prevented us from
referencing the correct namespaces derived from the nominal type's name
(an extension does not have a name). Moreover, we did not generate
forward declarations for the members of the extensions for classes and
enums (but we did for structs). This change also removes a workaround
that emitted String::Index as _String_Index.

rdar://153221450
@Xazax-hun Xazax-hun added the c++ interop Feature: Interoperability with C++ label Jul 2, 2025
@Xazax-hun
Copy link
Contributor Author

@swift-ci please smoke test

@Xazax-hun Xazax-hun merged commit a7e19f3 into swiftlang:main Jul 2, 2025
3 checks passed
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