KT-59293 [SLC] Fix generation of DefaultImpls classes

This commit is contained in:
Pavel Mikhailovskii
2023-06-23 08:01:52 +00:00
committed by Space Team
parent 896f8853ae
commit c3746652a4
9 changed files with 179 additions and 20 deletions
@@ -1,16 +1,34 @@
// p.C
// !GENERATE_PROPERTY_ANNOTATIONS_METHODS
package p
annotation class Anno
interface A {
@Anno
var prop1: Int
get() = 0
set(value) {}
fun a() = "a"
}
interface B: A {
@Anno
var prop2: Int
get() = 0
set(value) {}
fun b() = "b"
}
interface C : B {
interface C<T> : B {
fun c() = "c"
@Anno
var prop3: Int
get() = 0
set(value) {}
fun more(): String
}