K2: introduce JavaTypeParameterDefaultRepresentationWithDNN exp. feature

#KT-66447 Fixed
This commit is contained in:
Mikhail Glukhikh
2024-03-11 18:09:43 +01:00
committed by Space Team
parent 4464385fa9
commit cd20f31810
35 changed files with 627 additions and 6 deletions
@@ -21828,12 +21828,24 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/j+k/flexibleTypeVariablePosition.kt");
}
@Test
@TestMetadata("flexibleTypeVariablePositionDnnRepresentation.kt")
public void testFlexibleTypeVariablePositionDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/j+k/flexibleTypeVariablePositionDnnRepresentation.kt");
}
@Test
@TestMetadata("futureGet.kt")
public void testFutureGet() {
runTest("compiler/testData/diagnostics/tests/j+k/futureGet.kt");
}
@Test
@TestMetadata("futureGetDnnRepresentation.kt")
public void testFutureGetDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/j+k/futureGetDnnRepresentation.kt");
}
@Test
@TestMetadata("genericConstructorWithMultipleBounds.kt")
public void testGenericConstructorWithMultipleBounds() {
@@ -22110,6 +22122,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/j+k/nullableLinkedListToQueue.kt");
}
@Test
@TestMetadata("nullableLinkedListToQueueDnnRepresentation.kt")
public void testNullableLinkedListToQueueDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/j+k/nullableLinkedListToQueueDnnRepresentation.kt");
}
@Test
@TestMetadata("nullableRawTypeWithFlexibleArguments.kt")
public void testNullableRawTypeWithFlexibleArguments() {
@@ -23163,6 +23181,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinNullable.kt");
}
@Test
@TestMetadata("notNullTypeParameterWithKotlinNullableDnnRepresentation.kt")
public void testNotNullTypeParameterWithKotlinNullableDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinNullableDnnRepresentation.kt");
}
@Test
@TestMetadata("notNullTypeParameterWithKotlinNullableWarnings.kt")
public void testNotNullTypeParameterWithKotlinNullableWarnings() {
@@ -28692,6 +28716,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/override/dnnOverridesFlexible.kt");
}
@Test
@TestMetadata("dnnOverridesFlexibleDnnRepresentation.kt")
public void testDnnOverridesFlexibleDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/override/dnnOverridesFlexibleDnnRepresentation.kt");
}
@Test
@TestMetadata("DuplicateMethod.kt")
public void testDuplicateMethod() {
@@ -29304,6 +29334,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/platformTypes/comparingWithWrongNullability.kt");
}
@Test
@TestMetadata("comparingWithWrongNullabilityDnnRepresentation.kt")
public void testComparingWithWrongNullabilityDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/platformTypes/comparingWithWrongNullabilityDnnRepresentation.kt");
}
@Test
@TestMetadata("delegateByComplexInheritance.kt")
public void testDelegateByComplexInheritance() {
@@ -29693,6 +29729,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/platformTypes/methodCall/singleton.kt");
}
@Test
@TestMetadata("singletonDnnRepresentation.kt")
public void testSingletonDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/platformTypes/methodCall/singletonDnnRepresentation.kt");
}
@Test
@TestMetadata("string.kt")
public void testString() {
@@ -33204,6 +33246,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/samConversions/sameCandidatesFromKotlinAndJavaInOneScope.kt");
}
@Test
@TestMetadata("sameConversionToGenericWrongNullabilityDnnRepresentation.kt")
public void testSameConversionToGenericWrongNullabilityDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/samConversions/sameConversionToGenericWrongNullabilityDnnRepresentation.kt");
}
@Test
@TestMetadata("SimpleCorrect.kt")
public void testSimpleCorrect() {
@@ -21828,12 +21828,24 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/j+k/flexibleTypeVariablePosition.kt");
}
@Test
@TestMetadata("flexibleTypeVariablePositionDnnRepresentation.kt")
public void testFlexibleTypeVariablePositionDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/j+k/flexibleTypeVariablePositionDnnRepresentation.kt");
}
@Test
@TestMetadata("futureGet.kt")
public void testFutureGet() {
runTest("compiler/testData/diagnostics/tests/j+k/futureGet.kt");
}
@Test
@TestMetadata("futureGetDnnRepresentation.kt")
public void testFutureGetDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/j+k/futureGetDnnRepresentation.kt");
}
@Test
@TestMetadata("genericConstructorWithMultipleBounds.kt")
public void testGenericConstructorWithMultipleBounds() {
@@ -22110,6 +22122,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/j+k/nullableLinkedListToQueue.kt");
}
@Test
@TestMetadata("nullableLinkedListToQueueDnnRepresentation.kt")
public void testNullableLinkedListToQueueDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/j+k/nullableLinkedListToQueueDnnRepresentation.kt");
}
@Test
@TestMetadata("nullableRawTypeWithFlexibleArguments.kt")
public void testNullableRawTypeWithFlexibleArguments() {
@@ -23163,6 +23181,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinNullable.kt");
}
@Test
@TestMetadata("notNullTypeParameterWithKotlinNullableDnnRepresentation.kt")
public void testNotNullTypeParameterWithKotlinNullableDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinNullableDnnRepresentation.kt");
}
@Test
@TestMetadata("notNullTypeParameterWithKotlinNullableWarnings.kt")
public void testNotNullTypeParameterWithKotlinNullableWarnings() {
@@ -28692,6 +28716,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/override/dnnOverridesFlexible.kt");
}
@Test
@TestMetadata("dnnOverridesFlexibleDnnRepresentation.kt")
public void testDnnOverridesFlexibleDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/override/dnnOverridesFlexibleDnnRepresentation.kt");
}
@Test
@TestMetadata("DuplicateMethod.kt")
public void testDuplicateMethod() {
@@ -29304,6 +29334,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/platformTypes/comparingWithWrongNullability.kt");
}
@Test
@TestMetadata("comparingWithWrongNullabilityDnnRepresentation.kt")
public void testComparingWithWrongNullabilityDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/platformTypes/comparingWithWrongNullabilityDnnRepresentation.kt");
}
@Test
@TestMetadata("delegateByComplexInheritance.kt")
public void testDelegateByComplexInheritance() {
@@ -29693,6 +29729,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/platformTypes/methodCall/singleton.kt");
}
@Test
@TestMetadata("singletonDnnRepresentation.kt")
public void testSingletonDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/platformTypes/methodCall/singletonDnnRepresentation.kt");
}
@Test
@TestMetadata("string.kt")
public void testString() {
@@ -33204,6 +33246,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/samConversions/sameCandidatesFromKotlinAndJavaInOneScope.kt");
}
@Test
@TestMetadata("sameConversionToGenericWrongNullabilityDnnRepresentation.kt")
public void testSameConversionToGenericWrongNullabilityDnnRepresentation() {
runTest("compiler/testData/diagnostics/tests/samConversions/sameConversionToGenericWrongNullabilityDnnRepresentation.kt");
}
@Test
@TestMetadata("SimpleCorrect.kt")
public void testSimpleCorrect() {