mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[AST] Prevent use of @extensible without ExtensibleAttribute feature
(cherry picked from commit 0ad7d8b590)
This commit is contained in:
@@ -880,6 +880,7 @@ SIMPLE_DECL_ATTR(extensible, Extensible,
|
||||
OnEnum,
|
||||
ABIStableToAdd | ABIStableToRemove | APIBreakingToAdd | APIStableToRemove | ForbiddenInABIAttr,
|
||||
169)
|
||||
DECL_ATTR_FEATURE_REQUIREMENT(Extensible, ExtensibleAttribute)
|
||||
|
||||
SIMPLE_DECL_ATTR(concurrent, Concurrent,
|
||||
OnFunc | OnConstructor | OnSubscript | OnVar,
|
||||
|
||||
Reference in New Issue
Block a user