ad2689ecbf
Previously, we would ignore the candidate with the non-smartcasted receiver if they have the same symbol. Now we prefer them when they're visible or when the smart cast changes the nullability.
12 lines
171 B
Kotlin
Vendored
12 lines
171 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
class RootBus: MessageBusImpl()
|
|
|
|
open class MessageBusImpl {
|
|
val parentBus: Any?
|
|
|
|
init {
|
|
this as RootBus
|
|
parentBus = null
|
|
}
|
|
}
|