Use index to get symbols from importing scopes

This commit is contained in:
Roman Golyshev
2020-07-07 22:48:41 +03:00
committed by Ilya Kirillov
parent cefecdef25
commit 2eb439899e
9 changed files with 113 additions and 11 deletions
@@ -0,0 +1,6 @@
fun usage() {
val a = <caret>
}
// EXIST: listOf
// EXIST: setOf
@@ -0,0 +1,6 @@
fun test(a: Int, b: Int) {
<caret>
}
// EXIST: a
// EXIST: b
@@ -0,0 +1,7 @@
fun usage() {
val a = "10".toIntOrNull()
a?.<caret>
}
// EXIST: toString
@@ -0,0 +1,6 @@
fun usage() {
"".<caret>
}
// EXIST: length
// EXIST: get