Revert "Quick fix for deprecated async syntax"

This reverts commit afc1e24571.
This commit is contained in:
Denis Zharkov
2016-05-19 14:07:24 +03:00
parent 1af9321c20
commit 3ede8f97e6
15 changed files with 9 additions and 202 deletions
@@ -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>() /**/ { }
}