Skip to content

[TBDGen] don't add "_" when adding objc classes to swift TBD #35621

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
Jan 28, 2021

Conversation

cyndyishida
Copy link
Contributor

@cyndyishida cyndyishida commented Jan 27, 2021

When a class definition is marked with @objc, the swift tbd emits a special section with of the tbd labeled objc-classes, and the values are incorrectly given leading underscores, this causes tapi verification in Pedantic mode to fail, and this change is needed to apply the enhanced swift installapi updates.

rdar://problem/73664795

This entry is incorrect and causes tapi pedantic check to fail.
<rdar://problem/73664795>
@cyndyishida cyndyishida requested a review from nkcsgexi January 27, 2021 19:43
Copy link
Contributor

@nkcsgexi nkcsgexi left a comment

Choose a reason for hiding this comment

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

LGTM!

@cyndyishida
Copy link
Contributor Author

@swift-ci Please smoke test

@cyndyishida
Copy link
Contributor Author

@swift-ci Please smoke test macos platform

@cyndyishida cyndyishida merged commit 4e1987f into swiftlang:main Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants