Files
swift-mirror/test/SourceKit/SyntaxMapData/await.swift
Alex Hoppen 83380f2682 [SourceKit] Register await as a contextual keyword
`await` in an expresssion should be marked as a contextual keyword, not as an identifier

Resolves apple/sourcekit-lsp#591
2022-07-25 10:26:44 +02:00

8 lines
156 B
Swift

// RUN: %sourcekitd-test -req=syntax-map %s > %t.response
// RUN: %diff -u %s.response %t.response
func foo() async {}
func test() async {
await foo()
}