JVM add ABI tests for non-approximated SAM types

Note that resulting SAM method
    public final method accept(p0: java.lang.Object): void
has a signature less specific than the resulting bridge method
    public synthetic bridge method accept(p0: X): void
This commit is contained in:
Dmitry Petrov
2021-06-18 12:07:28 +03:00
committed by TeamCityServer
parent c77884f067
commit f30fc4863c
7 changed files with 186 additions and 0 deletions
@@ -1986,6 +1986,11 @@ public class KlibTextTestCaseGenerated extends AbstractKlibTextTestCase {
runTest("compiler/testData/ir/irText/types/intersectionType3_OI.kt");
}
@TestMetadata("intersectionTypeInSamType.kt")
public void testIntersectionTypeInSamType() throws Exception {
runTest("compiler/testData/ir/irText/types/intersectionTypeInSamType.kt");
}
@TestMetadata("kt36143.kt")
public void testKt36143() throws Exception {
runTest("compiler/testData/ir/irText/types/kt36143.kt");