ef8485a232
Before this commit, FIR2IR expected that FIR will have no receiver in this case. However, now FIR *has* receiver, so we have to convert it to object correctly
12 lines
134 B
Kotlin
Vendored
12 lines
134 B
Kotlin
Vendored
open class A {
|
|
protected fun foo() = "OK"
|
|
}
|
|
|
|
class B {
|
|
companion object : A()
|
|
|
|
fun bar() = foo()
|
|
}
|
|
|
|
fun box() = B().bar()
|