Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/arguments/ambiguityOnJavaOverride.kt
T
pyos e6d923f65c FIR: rename HIDDEN to INVISIBLE_REFERENCE
Some of them should be INVISIBLE_MEMBER though
2021-04-21 16:18:21 +03:00

20 lines
254 B
Kotlin
Vendored

// FILE: A.java
public class A {
Object foo(String s) {
return null;
};
}
// FILE: main.kt
class B : A() {
override fun foo(s: String): Any? {
return null
}
}
fun test(b: B) {
b.<!INVISIBLE_REFERENCE!>foo<!>("")
}