Minor. Additional test for "async {}"
This commit is contained in:
@@ -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 () {})
|
||||
|
||||
Reference in New Issue
Block a user