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

lib/SymbolGraphGen should emit names of @_spi attributes #69382

Open
tayloraswift opened this issue Oct 24, 2023 · 0 comments
Open

lib/SymbolGraphGen should emit names of @_spi attributes #69382

tayloraswift opened this issue Oct 24, 2023 · 0 comments
Labels
attributes Feature: Declaration and type attributes compiler The Swift compiler itself feature A feature request or implementation @_spi Feature → attributes: the @_spi attribute SymbolGraphGen The swiftSymbolGraphGen library, responsible for gathering and emitting symbol graphs.

Comments

@tayloraswift
Copy link
Member

lib/SymbolGraphGen currently emits spi: true for symbols that are restricted with the @_spi attribute. but it doesn’t actually record what those SPIs are. instead of emitting true for SPI symbols, it should emit an array of the names of those SPIs.

@tayloraswift tayloraswift added feature A feature request or implementation triage needed This issue needs more specific labels labels Oct 24, 2023
@AnthonyLatsis AnthonyLatsis added compiler The Swift compiler itself SymbolGraphGen The swiftSymbolGraphGen library, responsible for gathering and emitting symbol graphs. attributes Feature: Declaration and type attributes @_spi Feature → attributes: the @_spi attribute and removed triage needed This issue needs more specific labels labels Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
attributes Feature: Declaration and type attributes compiler The Swift compiler itself feature A feature request or implementation @_spi Feature → attributes: the @_spi attribute SymbolGraphGen The swiftSymbolGraphGen library, responsible for gathering and emitting symbol graphs.
Projects
None yet
Development

No branches or pull requests

2 participants