mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Implement parsing support for the accepted spelling of @backDeployed for SE-0376.
For source compatibility `@_backDeploy` continues to be accepted as a spelling. rdar://102792909
This commit is contained in:
@@ -669,11 +669,12 @@ DECL_ATTR_KINDS = [
|
||||
ABIStableToAdd, ABIStableToRemove, APIStableToAdd, APIStableToRemove,
|
||||
code=128),
|
||||
|
||||
DeclAttribute('_backDeploy', 'BackDeploy',
|
||||
DeclAttribute('backDeployed', 'BackDeployed',
|
||||
OnAbstractFunction, OnAccessor, OnSubscript, OnVar,
|
||||
AllowMultipleAttributes, LongAttribute, UserInaccessible,
|
||||
AllowMultipleAttributes, LongAttribute,
|
||||
ABIStableToAdd, ABIStableToRemove, APIStableToAdd, APIBreakingToRemove, # noqa: E501
|
||||
code=129),
|
||||
DeclAttributeAlias('_backDeploy', 'BackDeployed'),
|
||||
|
||||
SimpleDeclAttribute('_moveOnly', 'MoveOnly',
|
||||
OnNominalType,
|
||||
|
||||
Reference in New Issue
Block a user