Skip to content

Use availability item platform name to compute default availability information. #1208

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sofiaromorales
Copy link
Contributor

@sofiaromorales sofiaromorales commented Apr 24, 2025

Bug/issue #, if applicable: rdar://146774862

Summary

This PR makes a small tweak to the default availability logic so it uses the symbol availability item platform name instead of the symbol graph platform name to calculate the corresponding default introduced version from the default availability.

Dependencies

N/A

Testing

Availability.docc.zip

Steps:

  1. Preview the attached catalog.
  2. Assert that the symbol Foo shows the visionOS platform as deprecated without version information.

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

…nformation.

This change makes a small tweak to the default availability logic so it uses the
symbol availability item platform name instead of the symbol graph platform name
to calculate the corresponding default introduced version from the default
availability.

rdar://146774862
@sofiaromorales sofiaromorales requested a review from anferbui April 24, 2025 14:13
@sofiaromorales sofiaromorales marked this pull request as ready for review April 24, 2025 14:13
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.

1 participant