Files
kotlin-fork/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.kt
T
Sergej Jaskiewicz addb048ce9 [FIR] Generate signatures for synthesized class delegation fields
This is to align the behavior with K1.

^KT-57754 Fixed

Co-authored-by: Alexander Udalov <alexander.udalov@jetbrains.com>
2023-06-26 12:39:37 +00:00

21 lines
312 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// FILE: Foo.java
import java.util.Set;
public class Foo {
public interface A extends Set<String> {}
public interface B extends Set<String> {}
}
// FILE: DelegationAndInheritanceFromJava.kt
import Foo.*
import java.util.HashSet
class Impl(b: B): A, B by b
fun box() = "OK"