Fixed for companion object members
This commit is contained in:
@@ -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("")
|
||||
}
|
||||
Reference in New Issue
Block a user