[FIR] Freeze the current behavior of ImplicitIntegerCoercion+overloads

Adding the tests "just in case", ensuring the
K2 behaves similar to K1.
This commit is contained in:
Nikolay Lunyak
2023-04-24 15:14:51 +03:00
committed by Space Team
parent 931894ab3c
commit f3ca465647
7 changed files with 80 additions and 0 deletions
@@ -33997,6 +33997,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/unsignedTypes/conversions/implicitIntegerCoercionNamedArg.kt");
}
@Test
@TestMetadata("implicitIntegerCoercionOverloading.kt")
public void testImplicitIntegerCoercionOverloading() throws Exception {
runTest("compiler/testData/diagnostics/tests/unsignedTypes/conversions/implicitIntegerCoercionOverloading.kt");
}
@Test
@TestMetadata("inferenceForSignedAndUnsignedTypes.kt")
public void testInferenceForSignedAndUnsignedTypes() throws Exception {
@@ -33997,6 +33997,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/unsignedTypes/conversions/implicitIntegerCoercionNamedArg.kt");
}
@Test
@TestMetadata("implicitIntegerCoercionOverloading.kt")
public void testImplicitIntegerCoercionOverloading() throws Exception {
runTest("compiler/testData/diagnostics/tests/unsignedTypes/conversions/implicitIntegerCoercionOverloading.kt");
}
@Test
@TestMetadata("inferenceForSignedAndUnsignedTypes.kt")
public void testInferenceForSignedAndUnsignedTypes() throws Exception {