Escaping of keyword names in completion (more tests to be added)

This commit is contained in:
Valentin Kipyatkov
2014-08-13 22:39:09 +04:00
parent f5419cb04e
commit 5fb9aae68c
20 changed files with 151 additions and 67 deletions
@@ -0,0 +1,5 @@
package test
class `class`
fun foo(p: <caret>)
@@ -0,0 +1,5 @@
package test
class `class`
fun foo(p: `class`<caret>)
@@ -0,0 +1,5 @@
package first
fun foo() {
"".pack<caret>
}
@@ -0,0 +1,3 @@
package second
fun String.`package`() { }
@@ -0,0 +1,7 @@
package first
import second.`package`
fun foo() {
"".`package`()
}