K2: add missing checks for integral parameter type on implicit coercion

#KT-61418 fixed
#KT-61442 fixed
#KT-61441 fixed
This commit is contained in:
Ilya Chernikov
2023-08-23 17:31:43 +02:00
committed by Space Team
parent 84c6333b23
commit b821009617
22 changed files with 150 additions and 10 deletions
@@ -36693,6 +36693,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/unsignedTypes/kt47716.kt");
}
@Test
@TestMetadata("kt61418.kt")
public void testKt61418() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/kt61418.kt");
}
@Test
@TestMetadata("literalEqualsNullableUnsigned.kt")
public void testLiteralEqualsNullableUnsigned() throws Exception {
@@ -36693,6 +36693,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
runTest("compiler/testData/codegen/box/unsignedTypes/kt47716.kt");
}
@Test
@TestMetadata("kt61418.kt")
public void testKt61418() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/kt61418.kt");
}
@Test
@TestMetadata("literalEqualsNullableUnsigned.kt")
public void testLiteralEqualsNullableUnsigned() throws Exception {
@@ -36693,6 +36693,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/unsignedTypes/kt47716.kt");
}
@Test
@TestMetadata("kt61418.kt")
public void testKt61418() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/kt61418.kt");
}
@Test
@TestMetadata("literalEqualsNullableUnsigned.kt")
public void testLiteralEqualsNullableUnsigned() throws Exception {
@@ -36693,6 +36693,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
runTest("compiler/testData/codegen/box/unsignedTypes/kt47716.kt");
}
@Test
@TestMetadata("kt61418.kt")
public void testKt61418() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/kt61418.kt");
}
@Test
@TestMetadata("literalEqualsNullableUnsigned.kt")
public void testLiteralEqualsNullableUnsigned() throws Exception {