Skip to content

Commit b2dee32

Browse files
committed
Enable async let without the experimental flag
1 parent b86e39d commit b2dee32

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

include/swift/AST/Attr.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ SIMPLE_DECL_ATTR(_specializeExtension, SpecializeExtension,
593593
105)
594594

595595
CONTEXTUAL_SIMPLE_DECL_ATTR(async, Async,
596-
DeclModifier | OnVar | OnFunc | ConcurrencyOnly |
596+
DeclModifier | OnVar | OnFunc |
597597
ABIBreakingToAdd | ABIBreakingToRemove |
598598
APIBreakingToAdd | APIBreakingToRemove,
599599
106)

test/SourceKit/CodeComplete/complete_override.swift.response

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@
1010
key.typerelation: source.codecompletion.typerelation.notapplicable,
1111
key.num_bytes_to_erase: 0
1212
},
13+
{
14+
key.kind: source.lang.swift.keyword,
15+
key.name: "async",
16+
key.sourcetext: "async",
17+
key.description: "async",
18+
key.typename: "",
19+
key.context: source.codecompletion.context.none,
20+
key.typerelation: source.codecompletion.typerelation.notapplicable,
21+
key.num_bytes_to_erase: 0
22+
},
1323
{
1424
key.kind: source.lang.swift.keyword,
1525
key.name: "class",

0 commit comments

Comments
 (0)