Skip to content
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

Remove beta tag from unavailable symbols. #1121

Conversation

sofiaromorales
Copy link
Contributor

Bug/issue #, if applicable: 140415995

Summary

Symbols that are unconditionally unavailable in all the platforms should not be tagged as beta.Before this fix the isBeta logic was returning true for symbols that were unavailable in all the platforms. Now is filtering out these platforms before assesing if it's beta or not.

Dependencies

Describe any dependencies this PR might have, such as an associated branch in another repository.

Testing

See unit tests.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • Added tests
  • Ran the ./bin/test script and it succeeded
  • Updated documentation if necessary

Symbols that are unconditionally unavailable in all the platforms should not be
tagged as beta.Before this fix the `isBeta` logic was returning true for symbols
that were unavailable in all the platforms. Now is filtering out these platforms
before assesing if it's beta or not.

rdar://140415995
@sofiaromorales sofiaromorales requested review from d-ronnqvist and anferbui and removed request for d-ronnqvist December 6, 2024 19:10
Copy link
Contributor

@d-ronnqvist d-ronnqvist left a comment

Choose a reason for hiding this comment

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

LGTM

@sofiaromorales
Copy link
Contributor Author

@swift-ci please test

@sofiaromorales sofiaromorales merged commit a9e276f into swiftlang:main Dec 9, 2024
2 checks passed
sofiaromorales added a commit to sofiaromorales/swift-docc that referenced this pull request Dec 9, 2024
Symbols that are unconditionally unavailable in all the platforms should not be
tagged as beta. Before this fix the `isBeta` logic was returning true for symbols
that were unavailable in all the platforms. Now is filtering out these platforms
before assesing if it's beta or not.

rdar://140415995
sofiaromorales added a commit that referenced this pull request Dec 9, 2024
Symbols that are unconditionally unavailable in all the platforms should not be
tagged as beta. Before this fix the `isBeta` logic was returning true for symbols
that were unavailable in all the platforms. Now is filtering out these platforms
before assesing if it's beta or not.

rdar://140415995
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