KT-3503 Can't navigate to implementation of kotlin functions

#KT-3503 Fixed
This commit is contained in:
Nikolay Krasko
2013-04-22 17:54:13 +04:00
parent 8d3a22722f
commit 82cac8ed26
8 changed files with 86 additions and 9 deletions
@@ -0,0 +1,21 @@
package testing
open class Base {
open fun <caret>test() {
}
}
open class SubBase: Base() {
override fun test() {
}
}
class SubSubBase: SubBase() {
override fun test() {
}
}
// REF: (in testing.SubBase).test()
// REF: (in testing.SubSubBase).test()
@@ -0,0 +1,7 @@
package testing.jj;
public class JavaBase extends testing.kt.KotlinBase {
@Override
public void test() {
}
}
@@ -0,0 +1,7 @@
package testing.kt
open class KotlinBase {
open fun <caret>test() {}
}
// REF: (in testing.jj.JavaBase).test()
@@ -0,0 +1,5 @@
public class BaseJava {
public void testMethod() {
}
}
@@ -0,0 +1,13 @@
package testing.kt
class TestFromJava() : BaseJava() {
override fun testMethod() {
}
}
fun test() {
BaseJava().testMethod<caret>()
}
// REF: (in testing.kt.TestFromJava).testMethod()
// REF: (in BaseJava).testMethod()