3d6ec0ec75
Previously, creating a declaration with Fir2IrCallableDeclarationsGenerator/ Fir2IrClassifiersGenerator didn't guarantee that this declaration will be actually added to the list of parent class/file declarations, which lead to situations when FIR2IR created some declarations in the air (mostly fake-overrides)
18 lines
346 B
Kotlin
Vendored
18 lines
346 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
interface IFoo {
|
|
@Deprecated("")
|
|
val prop: String get() = ""
|
|
|
|
@Deprecated("")
|
|
val String.extProp: String get() = ""
|
|
}
|
|
|
|
class Delegated(foo: IFoo) : IFoo by foo
|
|
|
|
class DefaultImpl : IFoo
|
|
|
|
class ExplicitOverride : IFoo {
|
|
override val prop: String get() = ""
|
|
override val String.extProp: String get() = ""
|
|
}
|