Revert "Reserve "async* {}", extend the quick-fix"

This reverts commit a7e7d53e2b.
This commit is contained in:
Denis Zharkov
2016-05-19 14:02:11 +03:00
parent bf3e6247aa
commit 7d3333e86e
13 changed files with 8 additions and 101 deletions
-5
View File
@@ -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* {}
}
-5
View File
@@ -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 * { }
}