[K2/N] IntegerLiteralType coercion only to unsigned integer types
^KT-57484 Fixed Merge-request: KT-MR-10270 Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
a534708900
commit
fde8909e6f
+12
@@ -26527,6 +26527,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualTypealiasCoercion.kt")
|
||||
public void testExpectActualTypealiasCoercion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealiasCoercion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectInterfaceInSupertypes.kt")
|
||||
public void testExpectInterfaceInSupertypes() throws Exception {
|
||||
@@ -40807,6 +40813,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitIntegerCoercionOverloadResolutionAmbiguity.kt")
|
||||
public void testImplicitIntegerCoercionOverloadResolutionAmbiguity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionOverloadResolutionAmbiguity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inUnsignedDownTo.kt")
|
||||
public void testInUnsignedDownTo() throws Exception {
|
||||
|
||||
+12
@@ -27133,6 +27133,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualTypealiasCoercion.kt")
|
||||
public void testExpectActualTypealiasCoercion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealiasCoercion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectInterfaceInSupertypes.kt")
|
||||
public void testExpectInterfaceInSupertypes() throws Exception {
|
||||
@@ -41829,6 +41835,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitIntegerCoercionOverloadResolutionAmbiguity.kt")
|
||||
public void testImplicitIntegerCoercionOverloadResolutionAmbiguity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionOverloadResolutionAmbiguity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inUnsignedDownTo.kt")
|
||||
public void testInUnsignedDownTo() throws Exception {
|
||||
|
||||
+12
@@ -26225,6 +26225,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualTypealiasCoercion.kt")
|
||||
public void testExpectActualTypealiasCoercion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealiasCoercion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectInterfaceInSupertypes.kt")
|
||||
public void testExpectInterfaceInSupertypes() throws Exception {
|
||||
@@ -40297,6 +40303,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitIntegerCoercionOverloadResolutionAmbiguity.kt")
|
||||
public void testImplicitIntegerCoercionOverloadResolutionAmbiguity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionOverloadResolutionAmbiguity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inUnsignedDownTo.kt")
|
||||
public void testInUnsignedDownTo() throws Exception {
|
||||
|
||||
+12
@@ -26528,6 +26528,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualTypealiasCoercion.kt")
|
||||
public void testExpectActualTypealiasCoercion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealiasCoercion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectInterfaceInSupertypes.kt")
|
||||
public void testExpectInterfaceInSupertypes() throws Exception {
|
||||
@@ -40808,6 +40814,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicitIntegerCoercionOverloadResolutionAmbiguity.kt")
|
||||
public void testImplicitIntegerCoercionOverloadResolutionAmbiguity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionOverloadResolutionAmbiguity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inUnsignedDownTo.kt")
|
||||
public void testInUnsignedDownTo() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user