Skip to content

Commit 6fa62f7

Browse files
Revert allowing @preconcurrency on deinit declarations
Magically fixed
1 parent 9a0df5b commit 6fa62f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/DeclAttr.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ SIMPLE_DECL_ATTR(_noAllocation, NoAllocation,
326326
OnAbstractFunction | OnSubscript | UserInaccessible | ABIStableToAdd | ABIStableToRemove | APIStableToAdd | APIStableToRemove,
327327
124)
328328
SIMPLE_DECL_ATTR(preconcurrency, Preconcurrency,
329-
OnFunc | OnConstructor | OnDestructor | OnProtocol | OnGenericType | OnVar | OnSubscript | OnEnumElement | OnImport | ABIStableToAdd | ABIBreakingToRemove | APIBreakingToAdd | APIBreakingToRemove,
329+
OnFunc | OnConstructor | OnProtocol | OnGenericType | OnVar | OnSubscript | OnEnumElement | OnImport | ABIStableToAdd | ABIBreakingToRemove | APIBreakingToAdd | APIBreakingToRemove,
330330
125)
331331
DECL_ATTR(_unavailableFromAsync, UnavailableFromAsync,
332332
OnFunc | OnConstructor | OnMacro | UserInaccessible | ABIStableToAdd | ABIStableToRemove | APIBreakingToAdd | APIStableToRemove,

0 commit comments

Comments
 (0)