[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
@@ -2575,6 +2575,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
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 {
@@ -2637,6 +2637,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
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 {
@@ -2544,6 +2544,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
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 {
@@ -2606,6 +2606,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
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 {