69b9bfc3e0
Java resolving subsystem requires calculated visibility for correct disambiguation of supertypes. But visibility remains `Unknown` for Kotlin class-like declarations during supertypes resolving because `STATUS` resolve phase is performed after `SUPER_TYPES` phase. To fix the problem, the visibility should be initialized to public at the FIR building phase if no modifier is presented. ^KT-64127 Fixed
27 lines
896 B
Plaintext
Vendored
27 lines
896 B
Plaintext
Vendored
FILE: external.kt
|
|
public final? external class External : R|kotlin/Any| {
|
|
public? [ContainingClassKey=External] constructor(): R|External| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
public? final? external fun foo(): String
|
|
public? final? external val x: Int
|
|
public? external get(): Int
|
|
public final? class NotExternal : R|kotlin/Any| {
|
|
public? [ContainingClassKey=NotExternal] constructor(): R|NotExternal| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public? final? external fun bar(): String
|
|
|
|
public? final? var y: Int
|
|
public? external [ContainingClassKey=NotExternal] get(): Int
|
|
public? [ContainingClassKey=NotExternal] set(value: Int): R|kotlin/Unit| {
|
|
}
|
|
|
|
}
|
|
public? final? var z: Int
|
|
public? external get(): Int
|
|
public? external set(value: Int): R|kotlin/Unit|
|