[FIR] KT-57655: Ensure the current IR is incorrect

The
`FirPsiBlackBoxCodegenTestGenerated.testImplicitIntegerCoercionNamedArg`
test fails in K2 with "java.lang.Integer
cannot be cast to kotlin.UInt".
This commit is contained in:
Nikolay Lunyak
2023-04-20 10:03:41 +03:00
committed by Space Team
parent 20661d1f95
commit c4d5332251
17 changed files with 164 additions and 0 deletions
@@ -2402,6 +2402,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt");
}
@Test
@TestMetadata("implicitIntegerCoercionNamedArg.kt")
public void testImplicitIntegerCoercionNamedArg() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/implicitIntegerCoercionNamedArg.kt");
}
@Test
@TestMetadata("kCallableNameIntrinsic.kt")
public void testKCallableNameIntrinsic() throws Exception {
@@ -2456,6 +2456,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt");
}
@Test
@TestMetadata("implicitIntegerCoercionNamedArg.kt")
public void testImplicitIntegerCoercionNamedArg() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/implicitIntegerCoercionNamedArg.kt");
}
@Test
@TestMetadata("kCallableNameIntrinsic.kt")
public void testKCallableNameIntrinsic() throws Exception {
@@ -2456,6 +2456,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt");
}
@Test
@TestMetadata("implicitIntegerCoercionNamedArg.kt")
public void testImplicitIntegerCoercionNamedArg() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/implicitIntegerCoercionNamedArg.kt");
}
@Test
@TestMetadata("kCallableNameIntrinsic.kt")
public void testKCallableNameIntrinsic() throws Exception {
@@ -2456,6 +2456,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt");
}
@Test
@TestMetadata("implicitIntegerCoercionNamedArg.kt")
public void testImplicitIntegerCoercionNamedArg() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/implicitIntegerCoercionNamedArg.kt");
}
@Test
@TestMetadata("kCallableNameIntrinsic.kt")
public void testKCallableNameIntrinsic() throws Exception {