Fix tests for looking implementations from Java - no search for Kotlin declaration from usages
Probably because of this commit: https://github.com/JetBrains/intellij-community/commit/7d95ff4d86e584d66d558559a1a4678920281ca1
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
public class ImplementJavaInnerInterfaceFromUsage {
|
||||
interface Test {
|
||||
void foo();
|
||||
}
|
||||
|
||||
void test() {
|
||||
Test test = new Test() {
|
||||
@Override
|
||||
public void foo() {
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public static class OtherJava implements Test {
|
||||
@Override
|
||||
public void foo() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void usage(Test test) {
|
||||
test.<caret>foo();
|
||||
}
|
||||
}
|
||||
|
||||
// REF: (in ImplementJavaInnerInterfaceFromUsage.OtherJava).foo()
|
||||
// REF: <anonymous>.foo()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class KotlinTest : ImplementJavaInnerInterfaceFromUsage.Test {
|
||||
override fun foo() {}
|
||||
}
|
||||
Reference in New Issue
Block a user