Skip to content

[5.9][interop][SwiftToCxx] do not assert when emitting a public var and fu… #65497

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

Conversation

hyp
Copy link
Contributor

@hyp hyp commented Apr 28, 2023

…nction with the same C++ name

Explanation: C++ header generator asserts when sorting a Swift var and a Swift global function when they have the same . This fixes that assertion.
Scope: Swift's and C++ interoperability, Clang importer.
Risk: Low.
Testing: Swift unit tests.
Reviewer: @ravikandhadai

@hyp hyp requested a review from a team as a code owner April 28, 2023 14:35
@hyp
Copy link
Contributor Author

hyp commented Apr 28, 2023

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented Apr 28, 2023

@swift-ci please test source compatibility

@hyp hyp changed the title [interop][SwiftToCxx] do not assert when emitting a public var and fu… [5.9][interop][SwiftToCxx] do not assert when emitting a public var and fu… Apr 28, 2023
@hyp hyp added the c++ interop Feature: Interoperability with C++ label Apr 28, 2023
@hyp hyp merged commit 7069e5f into swiftlang:release/5.9 May 1, 2023
@AnthonyLatsis AnthonyLatsis added the 🍒 release cherry pick Flag: Release branch cherry picks label May 3, 2023
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++ 🍒 release cherry pick Flag: Release branch cherry picks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants