Fixed for companion object members

This commit is contained in:
Valentin Kipyatkov
2015-11-06 20:04:17 +03:00
parent d599b77ece
commit d3f04c6310
4 changed files with 26 additions and 5 deletions
@@ -0,0 +1,9 @@
// INTENTION_TEXT: "Add import for 'kotlin.text.Regex.Companion.escape'"
// WITH_RUNTIME
import kotlin.text.Regex
fun foo() {
Regex.<caret>escape("")
Regex.Companion.escape("")
}
@@ -0,0 +1,10 @@
// INTENTION_TEXT: "Add import for 'kotlin.text.Regex.Companion.escape'"
// WITH_RUNTIME
import kotlin.text.Regex
import kotlin.text.Regex.Companion.escape
fun foo() {
<caret>escape("")
escape("")
}