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 () {})
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Migrate unsupported async syntax" "true"
|
||||
infix fun Any.async(f: () -> Unit) = f()
|
||||
|
||||
fun test(foo: Any) {
|
||||
foo <caret>async { }
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Migrate unsupported async syntax" "true"
|
||||
infix fun Any.async(f: () -> Unit) = f()
|
||||
|
||||
fun test(foo: Any) {
|
||||
foo <caret>async ({ })
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Migrate unsupported async syntax" "true"
|
||||
infix fun Any.async(f: () -> Unit) = f()
|
||||
|
||||
fun test(foo: Any) {
|
||||
foo async<caret> fun () {}
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Migrate unsupported async syntax" "true"
|
||||
infix fun Any.async(f: () -> Unit) = f()
|
||||
|
||||
fun test(foo: Any) {
|
||||
foo async<caret> (fun () {})
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Migrate unsupported async syntax" "true"
|
||||
fun async(f: () -> Unit) {}
|
||||
|
||||
fun test() {
|
||||
asy<caret>nc { }
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Migrate unsupported async syntax" "true"
|
||||
fun async(f: () -> Unit) {}
|
||||
|
||||
fun test() {
|
||||
asy<caret>nc() { }
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Migrate unsupported async syntax" "true"
|
||||
fun async(f: () -> Unit) {}
|
||||
|
||||
fun test() {
|
||||
async<caret> /**/ { }
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Migrate unsupported async syntax" "true"
|
||||
fun async(f: () -> Unit) {}
|
||||
|
||||
fun test() {
|
||||
async<caret>() /**/ { }
|
||||
}
|
||||
Reference in New Issue
Block a user