Revert "Completion fix for reserved 'async' syntax"

This reverts commit 318f0c89b2.
This commit is contained in:
Denis Zharkov
2016-05-19 14:09:05 +03:00
parent 3ede8f97e6
commit 5c1e17c8e7
10 changed files with 3 additions and 111 deletions
@@ -1,7 +0,0 @@
fun async(a: () -> Unit) {}
fun test() {
asy<caret>
}
// ELEMENT: async
@@ -1,7 +0,0 @@
fun async(a: () -> Unit) {}
fun test() {
async() { <caret> }
}
// ELEMENT: async
@@ -1,7 +0,0 @@
fun async (p: Int, a: () -> Unit) {}
fun test() {
asy<caret>
}
// ELEMENT: async
@@ -1,7 +0,0 @@
fun async (p: Int, a: () -> Unit) {}
fun test() {
async(<caret>)
}
// ELEMENT: async
@@ -1,10 +0,0 @@
fun asyFoo(a: () -> Unit) {}
fun async(a: () -> Unit) {}
fun test() {
asy<caret>Foo { }
}
// ELEMENT: async
// CHAR: '\t'
@@ -1,10 +0,0 @@
fun asyFoo(a: () -> Unit) {}
fun async(a: () -> Unit) {}
fun test() {
async() { }
}
// ELEMENT: async
// CHAR: '\t'
@@ -1,10 +0,0 @@
fun asyFoo(p: Int, a: () -> Unit) {}
fun async(q: Int, a: () -> Unit) {}
fun test() {
asy<caret>Foo(5) { }
}
// ELEMENT: async
// CHAR: '\t'
@@ -1,10 +0,0 @@
fun asyFoo(p: Int, a: () -> Unit) {}
fun async(q: Int, a: () -> Unit) {}
fun test() {
async(<caret>5) { }
}
// ELEMENT: async
// CHAR: '\t'