Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/arguments/ambiguityOnJavaOverride.txt
T
Dmitriy Novozhilov bf1a00c73a [FIR] Rework resolution of declaration statuses
There is introduced algorithm of resolution with jumps: before
  resolution of some class we resolve all status of members of its
  supertypes, so we can properly determine inherited visibility
  and modifiers
2020-10-21 11:53:10 +03:00

15 lines
368 B
Plaintext
Vendored

FILE: main.kt
public final class B : R|A| {
public constructor(): R|B| {
super<R|A|>()
}
protected final override fun foo(s: R|kotlin/String|): R|kotlin/Any?| {
^foo Null(null)
}
}
public final fun test(b: R|B|): R|kotlin/Unit| {
R|<local>/b|.<HIDDEN: /B.foo is invisible>#(String())
}