mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
For property declarations, the `@_spi` attribute is attached to the VarDecl AST node, rather than the PatternBindingDecl AST node, so the `isSPI()` query should take this into account. Failing to do so caused the availability checker to erroneously require that `@_spi` properties of types in `-library-level api` libraries have availability annotations. Resolves rdar://113587321.
152 KiB
152 KiB