Files
kotlin-fork/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.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

23 lines
568 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// SEPARATE_SIGNATURE_DUMP_FOR_K2
// ^ Fake overrides have divirging @EnhancedNullability in K1 and K2
// FILE: delegatedImplementationOfJavaInterface.kt
class Test(private val j: J) : J by j
// FILE: J.java
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface J {
void takeNotNull(@NotNull String x);
void takeNullable(@Nullable String x);
void takeFlexible(String x);
@NotNull String returnNotNull();
@Nullable String returnNullable();
String returnsFlexible();
}