Skip to content

Commit 5892ff3

Browse files
authored
Merge pull request swiftlang#38655 from DougGregor/enable-0317-async-let
2 parents ed49b03 + 392647b commit 5892ff3

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
@@ -597,7 +597,7 @@ SIMPLE_DECL_ATTR(_specializeExtension, SpecializeExtension,
597597
105)
598598

599599
CONTEXTUAL_SIMPLE_DECL_ATTR(async, Async,
600-
DeclModifier | OnVar | OnFunc | ConcurrencyOnly |
600+
DeclModifier | OnVar | OnFunc |
601601
ABIBreakingToAdd | ABIBreakingToRemove |
602602
APIBreakingToAdd | APIBreakingToRemove,
603603
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)