Files
kotlin-fork/compiler/testData/ir/irText/classes/kt45934.kt
T
Sergej Jaskiewicz da9f0e7af8 [test] Get rid of SKIP_SIGNATURE_DUMP directive in irText tests
Sometimes there are legitimate reasons to have two separate signature
dumps for K1 and K2.

^KT-61797 Fixed
2024-01-15 13:10:19 +00:00

29 lines
420 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// SKIP_KT_DUMP
// SEPARATE_SIGNATURE_DUMP_FOR_K2
// ^ K2 generates an override for foo in C, K1 does not
// FILE: kt45934.kt
class C(client: J) : I by client
// FILE: I.java
import java.util.List;
public interface I {
<C> List<C> foo();
}
// FILE: J.java
import java.util.List;
public class J implements I {
@Override
public List<String> foo() {
return null;
}
}