Merge pull request #34985 from DougGregor/import-swift-async-attr

[Concurrency] Implement support for swift_async attribute.
This commit is contained in:
Doug Gregor
2020-12-10 10:09:28 -08:00
committed by GitHub
5 changed files with 99 additions and 37 deletions

View File

@@ -23,6 +23,8 @@
// CHECK-DAG: func findQAndA() async throws -> (String?, String)
// CHECK-DAG: func findQuestionableAnswers() async throws -> (String, String?)
// CHECK-DAG: func doSomethingFun(_ operation: String) async
// CHECK-DAG: func dance(_ step: String) async -> String
// CHECK-DAG: func __leap(_ height: Int) async -> String
// CHECK: {{^[}]$}}
// CHECK-LABEL: protocol RefrigeratorDelegate