Minor. Additional test for "async {}"

This commit is contained in:
Andrey Breslav
2015-12-21 06:18:32 +03:00
parent 318f0c89b2
commit 45074841a4
+2
View File
@@ -6,6 +6,7 @@ infix fun Any.async(f: () -> Unit) = f()
fun test(foo: Any) {
<!UNSUPPORTED!>async<!> { }
`async` { }
<!UNSUPPORTED!>async<!> /**/ { }
foo <!UNSUPPORTED!>async<!> { }
@@ -15,6 +16,7 @@ fun test(foo: Any) {
foo async ({ })
foo <!UNSUPPORTED!>async<!> fun () {}
foo `async` fun () {}
foo async (fun () {})
async (fun () {})