Implement search from expect element in KotlinReferenceSearcher

So mostly #KT-17512 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-06-20 19:58:33 +03:00
parent 97d158d833
commit e885e54233
18 changed files with 105 additions and 29 deletions
@@ -0,0 +1,8 @@
fun test() {
My("a").boo()
My("b").boo()
}
expect class My(val s: String) {
fun boo()
}
@@ -0,0 +1,6 @@
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtClass
// OPTIONS: usages, expected
actual class <caret>My(val s: String) {
actual fun boo() {}
}
@@ -0,0 +1,2 @@
[common.kt] New instance creation 2 My("a").boo()
[common.kt] New instance creation 3 My("b").boo()