From 45074841a47a0e620ef8d6938b6a534fa5bd9a94 Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Mon, 21 Dec 2015 06:18:32 +0300 Subject: [PATCH] Minor. Additional test for "async {}" --- compiler/testData/diagnostics/tests/ReservedAsync.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/testData/diagnostics/tests/ReservedAsync.kt b/compiler/testData/diagnostics/tests/ReservedAsync.kt index b5fb492c941..f14e04ac806 100644 --- a/compiler/testData/diagnostics/tests/ReservedAsync.kt +++ b/compiler/testData/diagnostics/tests/ReservedAsync.kt @@ -6,6 +6,7 @@ infix fun Any.async(f: () -> Unit) = f() fun test(foo: Any) { async { } + `async` { } async /**/ { } foo async { } @@ -15,6 +16,7 @@ fun test(foo: Any) { foo async ({ }) foo async fun () {} + foo `async` fun () {} foo async (fun () {}) async (fun () {})