[FE] Add tests for 'containingClassForStaticMemberAttr'

This commit is contained in:
Yan Zhulanow
2022-11-26 00:37:02 +09:00
committed by Space Team
parent 4489ccf864
commit 10fc86ef92
28 changed files with 604 additions and 50 deletions
@@ -0,0 +1,19 @@
// MODULE: lib
// FILE: test/J.java
package test;
class Foo<T> {
public static <K> String getValue(K key) {
return null;
}
}
public class Bar extends Foo<String> {}
// MODULE: main(lib)
// FILE: k.kt
import test.Bar
fun test() {
<!DEBUG_INFO_CALLABLE_OWNER("test.Foo.getValue in test.Foo")!>Bar.getValue("bar")<!>
}