Revert "Reserve "async* {}", extend the quick-fix"
This reverts commit a7e7d53e2b.
This commit is contained in:
@@ -77,9 +77,6 @@ fun infixTest() {
|
||||
|
||||
fun async(f: () -> Unit) {}
|
||||
infix fun Any.async(f: () -> Unit) {}
|
||||
object async {
|
||||
operator fun times(f: () -> Unit) = f()
|
||||
}
|
||||
|
||||
fun test(foo: Any) {
|
||||
async { }
|
||||
@@ -95,7 +92,5 @@ fun test(foo: Any) {
|
||||
foo async (fun () {})
|
||||
|
||||
async (fun () {})
|
||||
|
||||
async* {}
|
||||
}
|
||||
|
||||
|
||||
@@ -76,9 +76,6 @@ fun infixTest() {
|
||||
|
||||
fun async(f: () -> Unit) {}
|
||||
infix fun Any.async(f: () -> Unit) {}
|
||||
object async {
|
||||
operator fun times(f: () -> Unit) = f()
|
||||
}
|
||||
|
||||
fun test(foo: Any) {
|
||||
async() { }
|
||||
@@ -94,7 +91,5 @@ fun test(foo: Any) {
|
||||
foo async (fun () {})
|
||||
|
||||
async (fun () {})
|
||||
|
||||
async * {}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
// "Migrate unsupported async syntax" "true"
|
||||
object async {
|
||||
operator fun times(f: () -> Unit) = f()
|
||||
}
|
||||
|
||||
fun test() {
|
||||
asy<caret>nc* { }
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
// "Migrate unsupported async syntax" "true"
|
||||
object async {
|
||||
operator fun times(f: () -> Unit) = f()
|
||||
}
|
||||
|
||||
fun test() {
|
||||
asy<caret>nc * { }
|
||||
}
|
||||
Reference in New Issue
Block a user