bf1a00c73a
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
15 lines
368 B
Plaintext
Vendored
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())
|
|
}
|