K2: Fix deserialization of flexible type based on type parameter

It's anyway safe to use avoidComprehensiveCheck = true because
during deserialization we're sure that we need DNN type because
it's been serialized as such.
This commit is contained in:
Denis.Zharkov
2022-11-23 17:35:23 +01:00
committed by Space Team
parent ff340505ec
commit f7d8fd54ca
7 changed files with 55 additions and 2 deletions
@@ -7544,6 +7544,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir/IrConstAcceptMultiModule.kt");
}
@Test
@TestMetadata("javaTypeParameterBy.kt")
public void testJavaTypeParameterBy() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir/javaTypeParameterBy.kt");
}
@Test
@TestMetadata("LibraryProperty.kt")
public void testLibraryProperty() throws Exception {
@@ -7688,6 +7688,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir/IrConstAcceptMultiModule.kt");
}
@Test
@TestMetadata("javaTypeParameterBy.kt")
public void testJavaTypeParameterBy() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir/javaTypeParameterBy.kt");
}
@Test
@TestMetadata("LibraryProperty.kt")
public void testLibraryProperty() throws Exception {
@@ -520,6 +520,12 @@ public class JvmIrAgainstOldBoxTestGenerated extends AbstractJvmIrAgainstOldBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir/IrConstAcceptMultiModule.kt");
}
@Test
@TestMetadata("javaTypeParameterBy.kt")
public void testJavaTypeParameterBy() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir/javaTypeParameterBy.kt");
}
@Test
@TestMetadata("LibraryProperty.kt")
public void testLibraryProperty() throws Exception {
@@ -514,6 +514,12 @@ public class JvmOldAgainstIrBoxTestGenerated extends AbstractJvmOldAgainstIrBoxT
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir/IrConstAcceptMultiModule.kt");
}
@Test
@TestMetadata("javaTypeParameterBy.kt")
public void testJavaTypeParameterBy() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/fir/javaTypeParameterBy.kt");
}
@Test
@TestMetadata("LibraryProperty.kt")
public void testLibraryProperty() throws Exception {