Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/inheritance/statics/staticVsOuter.kt
T

19 lines
275 B
Kotlin
Vendored

// FILE: A.java
public class A {
public static int foo() {return 1;}
}
// FILE: B.java
public class B extends A {
public static int foo() {return 1;}
}
// FILE: 1.kt
fun foo() = ""
class C: B() {
init {
val <!UNUSED_VARIABLE!>a<!>: Int = foo()
}
}