[FIR] Replace local types with Any in deserializer
This commit is contained in:
+18
@@ -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
|
||||
Reference in New Issue
Block a user