Files
kotlin-fork/compiler/testData/ir/irText/declarations/kt65273.kt
T
Pavel Kunyavskiy 831ef0f909 [FakeOverrideBuilder] Fix referencing a local type from a return type
Copying tree part happens in two stages.
1. Collect all symbols to copy and create new version of them
2. Do copy tree, replacing collected symbols

For f/o builder 1-st stage traversed more nodes, than seconds.
This led to unbound symbols in tree.

^KT-65273 Fixed
2024-02-12 08:39:35 +00:00

10 lines
172 B
Kotlin
Vendored

// SEPARATE_SIGNATURE_DUMP_FOR_K2
// ^ Different type of s - KT-65603
class A {
private abstract class B {
val s = object {}
}
private class C : B()
}