Files
kotlin-fork/compiler/testData/diagnostics/tests/override/derivedClasses/StaticFieldFromJava.kt
T

18 lines
327 B
Kotlin
Vendored

// MODULE: lib
// FILE: test/J.java
package test;
interface I {
// Not a String to avoid constant inlining
public static String[] OK = new String[]{"OK"};
}
public class J implements I {}
// MODULE: main(lib)
// FILE: k.kt
import test.J
fun test() {
J.<!DEBUG_INFO_CALLABLE_OWNER("test.J.OK in test.J")!>OK<!>
}