[FIR] Replace local types with Any in deserializer

This commit is contained in:
Mikhail Glukhikh
2020-11-11 10:37:35 +03:00
parent 744918fb47
commit 8ace0d9ad1
7 changed files with 48 additions and 2 deletions
@@ -0,0 +1,18 @@
// TARGET_BACKEND: JVM
// FILE: A.kt
abstract class A {
private val x = object {
fun foo() = "OK"
}
protected val y = x.foo()
}
// FILE: B.kt
class B : A() {
val z = y
}
fun box() = B().z