Revert "Quick fix for deprecated async syntax"
This reverts commit afc1e24571.
This commit is contained in:
-20
@@ -74,23 +74,3 @@ val x = C() willBeInfix 1
|
||||
fun infixTest() {
|
||||
arrayListOf(1, 2, 3) map { it }
|
||||
}
|
||||
|
||||
fun async(f: () -> Unit) {}
|
||||
infix fun Any.async(f: () -> Unit) {}
|
||||
|
||||
fun test(foo: Any) {
|
||||
async { }
|
||||
async /**/ { }
|
||||
foo async { }
|
||||
|
||||
async() { }
|
||||
|
||||
async({ })
|
||||
foo async ({ })
|
||||
|
||||
foo async fun () {}
|
||||
foo async (fun () {})
|
||||
|
||||
async (fun () {})
|
||||
}
|
||||
|
||||
|
||||
@@ -73,23 +73,3 @@ val x = C() willBeInfix 1
|
||||
fun infixTest() {
|
||||
arrayListOf(1, 2, 3).map { it }
|
||||
}
|
||||
|
||||
fun async(f: () -> Unit) {}
|
||||
infix fun Any.async(f: () -> Unit) {}
|
||||
|
||||
fun test(foo: Any) {
|
||||
async() { }
|
||||
async() /**/ { }
|
||||
foo async ({ })
|
||||
|
||||
async() { }
|
||||
|
||||
async({ })
|
||||
foo async ({ })
|
||||
|
||||
foo async (fun () {})
|
||||
foo async (fun () {})
|
||||
|
||||
async (fun () {})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user