From 931894ab3c6189dc46ba65d4607d621fab8909bf Mon Sep 17 00:00:00 2001 From: Nikolay Lunyak Date: Thu, 20 Apr 2023 10:23:55 +0300 Subject: [PATCH] [FIR] KT-57655: Add the missing condition ^KT-57655 Fixed --- .../generators/CallAndReferenceGenerator.kt | 1 + ...LightTreeBlackBoxCodegenTestGenerated.java | 12 +-- .../FirPsiBlackBoxCodegenTestGenerated.java | 12 +-- .../bound/implicitIntegerCoercionNamedArg.kt | 23 ------ ...implicitIntegerCoercionNamedArg.fir.ir.txt | 80 +++++++++++++++++++ .../implicitIntegerCoercionNamedArg.ir.txt} | 43 +++++++--- .../implicitIntegerCoercionNamedArg.kt | 33 ++++++++ .../codegen/BlackBoxCodegenTestGenerated.java | 12 +-- .../IrBlackBoxCodegenTestGenerated.java | 12 +-- ...kBoxCodegenWithIrInlinerTestGenerated.java | 12 +-- .../codegen/AbstractLightAnalysisModeTest.kt | 3 +- .../LightAnalysisModeTestGenerated.java | 10 +-- .../js/test/JsCodegenBoxTestGenerated.java | 12 +-- .../fir/FirJsCodegenBoxTestGenerated.java | 12 +-- .../test/ir/IrJsCodegenBoxTestGenerated.java | 12 +-- .../ir/IrJsES6CodegenBoxTestGenerated.java | 12 +-- .../FirNativeCodegenBoxTestGenerated.java | 12 +-- .../FirNativeCodegenBoxTestNoPLGenerated.java | 12 +-- .../NativeCodegenBoxTestGenerated.java | 12 +-- .../NativeCodegenBoxTestNoPLGenerated.java | 12 +-- .../test/IrCodegenBoxWasmTestGenerated.java | 10 +-- 21 files changed, 237 insertions(+), 122 deletions(-) delete mode 100644 compiler/testData/codegen/box/callableReference/bound/implicitIntegerCoercionNamedArg.kt create mode 100644 compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.fir.ir.txt rename compiler/testData/codegen/box/{callableReference/bound/implicitIntegerCoercionNamedArg.fir.ir.txt => unsignedTypes/implicitIntegerCoercionNamedArg.ir.txt} (55%) create mode 100644 compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt diff --git a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt index 3ea60d68579..a4985f0d7c5 100644 --- a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt +++ b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt @@ -1002,6 +1002,7 @@ class CallAndReferenceGenerator( fun IrExpression.applyToElement(argument: FirExpression, conversionFunction: IrSimpleFunctionSymbol): IrExpression = if (argument is FirConstExpression<*> || + argument is FirNamedArgumentExpression || argument.calleeReference?.toResolvedCallableSymbol()?.let { it.resolvedStatus.isConst && it.isMarkedWithImplicitIntegerCoercion } == true diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java index 8a8a4360940..fe02f6370a1 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java @@ -3734,12 +3734,6 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr 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("javaField.kt") public void testJavaField() throws Exception { @@ -51903,6 +51897,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @Test + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @Test @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java index a9e75c156dd..b6ee312d45a 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java @@ -3734,12 +3734,6 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo 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("javaField.kt") public void testJavaField() throws Exception { @@ -51903,6 +51897,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @Test + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @Test @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { diff --git a/compiler/testData/codegen/box/callableReference/bound/implicitIntegerCoercionNamedArg.kt b/compiler/testData/codegen/box/callableReference/bound/implicitIntegerCoercionNamedArg.kt deleted file mode 100644 index bf64c00b3b4..00000000000 --- a/compiler/testData/codegen/box/callableReference/bound/implicitIntegerCoercionNamedArg.kt +++ /dev/null @@ -1,23 +0,0 @@ -// ISSUE: KT-57655 -// !LANGUAGE: +ImplicitSignedToUnsignedIntegerConversion -// ALLOW_KOTLIN_PACKAGE -// WITH_STDLIB -// DUMP_IR - -// FILE: annotation.kt - -package kotlin.internal - -annotation class ImplicitIntegerCoercion - -// FILE: test.kt - -import kotlin.internal.ImplicitIntegerCoercion - -fun test(@ImplicitIntegerCoercion x: UInt) = x as UInt - -fun box(): String = when { - test(5) != 5.toUInt() -> "Fail: test(5)" - test(x = 5) != 5.toUInt() -> "Fail: test(x = 5)" - else -> "OK" -} diff --git a/compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.fir.ir.txt b/compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.fir.ir.txt new file mode 100644 index 00000000000..3b0c3bc84a9 --- /dev/null +++ b/compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.fir.ir.txt @@ -0,0 +1,80 @@ +FILE fqName:kotlin.internal fileName:/annotation.kt + CLASS ANNOTATION_CLASS name:ImplicitIntegerCoercion modality:OPEN visibility:public superTypes:[kotlin.Annotation] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:kotlin.internal.ImplicitIntegerCoercion + CONSTRUCTOR visibility:public <> () returnType:kotlin.internal.ImplicitIntegerCoercion [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:ImplicitIntegerCoercion modality:OPEN visibility:public superTypes:[kotlin.Annotation]' + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in kotlin.Annotation + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation + $this: VALUE_PARAMETER name: type:kotlin.Any +FILE fqName: fileName:/test.kt + FUN name:testInt visibility:public modality:FINAL <> (x:kotlin.UInt) returnType:kotlin.UInt + VALUE_PARAMETER name:x index:0 type:kotlin.UInt + annotations: + ImplicitIntegerCoercion + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun testInt (x: kotlin.UInt): kotlin.UInt declared in ' + TYPE_OP type=kotlin.UInt origin=CAST typeOperand=kotlin.UInt + GET_VAR 'x: kotlin.UInt declared in .testInt' type=kotlin.UInt origin=null + FUN name:testLong visibility:public modality:FINAL <> (x:kotlin.ULong) returnType:kotlin.ULong + VALUE_PARAMETER name:x index:0 type:kotlin.ULong + annotations: + ImplicitIntegerCoercion + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun testLong (x: kotlin.ULong): kotlin.ULong declared in ' + TYPE_OP type=kotlin.ULong origin=CAST typeOperand=kotlin.ULong + GET_VAR 'x: kotlin.ULong declared in .testLong' type=kotlin.ULong origin=null + FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in ' + WHEN type=kotlin.String origin=WHEN + BRANCH + if: CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ + $this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ + arg0: CALL 'public final fun testInt (x: kotlin.UInt): kotlin.UInt declared in ' type=kotlin.UInt origin=null + x: CALL 'public final fun toUInt (): kotlin.UInt [inline] declared in kotlin.UIntKt' type=kotlin.UInt origin=null + $receiver: CONST Int type=kotlin.Int value=5 + arg1: CALL 'public final fun toUInt (): kotlin.UInt [inline] declared in kotlin.UIntKt' type=kotlin.UInt origin=null + $receiver: CONST Int type=kotlin.Int value=5 + then: CONST String type=kotlin.String value="Fail: testInt(5)" + BRANCH + if: CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ + $this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ + arg0: CALL 'public final fun testInt (x: kotlin.UInt): kotlin.UInt declared in ' type=kotlin.UInt origin=null + x: CALL 'public final fun toUInt (): kotlin.UInt [inline] declared in kotlin.UIntKt' type=kotlin.UInt origin=null + $receiver: CONST Int type=kotlin.Int value=5 + arg1: CALL 'public final fun toUInt (): kotlin.UInt [inline] declared in kotlin.UIntKt' type=kotlin.UInt origin=null + $receiver: CONST Int type=kotlin.Int value=5 + then: CONST String type=kotlin.String value="Fail: testInt(x = 5)" + BRANCH + if: CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ + $this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ + arg0: CALL 'public final fun testLong (x: kotlin.ULong): kotlin.ULong declared in ' type=kotlin.ULong origin=null + x: CALL 'public final fun toULong (): kotlin.ULong [inline] declared in kotlin.ULongKt' type=kotlin.ULong origin=null + $receiver: CONST Int type=kotlin.Int value=5 + arg1: CALL 'public final fun toULong (): kotlin.ULong [inline] declared in kotlin.ULongKt' type=kotlin.ULong origin=null + $receiver: CONST Long type=kotlin.Long value=5 + then: CONST String type=kotlin.String value="Fail: testLong(5L)" + BRANCH + if: CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ + $this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ + arg0: CALL 'public final fun testLong (x: kotlin.ULong): kotlin.ULong declared in ' type=kotlin.ULong origin=null + x: CALL 'public final fun toULong (): kotlin.ULong [inline] declared in kotlin.ULongKt' type=kotlin.ULong origin=null + $receiver: CONST Int type=kotlin.Int value=5 + arg1: CALL 'public final fun toULong (): kotlin.ULong [inline] declared in kotlin.ULongKt' type=kotlin.ULong origin=null + $receiver: CONST Long type=kotlin.Long value=5 + then: CONST String type=kotlin.String value="Fail: testLong(x = 5L)" + BRANCH + if: CONST Boolean type=kotlin.Boolean value=true + then: CONST String type=kotlin.String value="OK" diff --git a/compiler/testData/codegen/box/callableReference/bound/implicitIntegerCoercionNamedArg.fir.ir.txt b/compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.ir.txt similarity index 55% rename from compiler/testData/codegen/box/callableReference/bound/implicitIntegerCoercionNamedArg.fir.ir.txt rename to compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.ir.txt index 24f47e5d77a..3bfecb53db3 100644 --- a/compiler/testData/codegen/box/callableReference/bound/implicitIntegerCoercionNamedArg.fir.ir.txt +++ b/compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.ir.txt @@ -19,14 +19,22 @@ FILE fqName:kotlin.internal fileName:/annotation.kt public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation $this: VALUE_PARAMETER name: type:kotlin.Any FILE fqName: fileName:/test.kt - FUN name:test visibility:public modality:FINAL <> (x:kotlin.UInt) returnType:kotlin.UInt + FUN name:testInt visibility:public modality:FINAL <> (x:kotlin.UInt) returnType:kotlin.UInt VALUE_PARAMETER name:x index:0 type:kotlin.UInt annotations: ImplicitIntegerCoercion BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun test (x: kotlin.UInt): kotlin.UInt declared in ' + RETURN type=kotlin.Nothing from='public final fun testInt (x: kotlin.UInt): kotlin.UInt declared in ' TYPE_OP type=kotlin.UInt origin=CAST typeOperand=kotlin.UInt - GET_VAR 'x: kotlin.UInt declared in .test' type=kotlin.UInt origin=null + GET_VAR 'x: kotlin.UInt declared in .testInt' type=kotlin.UInt origin=null + FUN name:testLong visibility:public modality:FINAL <> (x:kotlin.ULong) returnType:kotlin.ULong + VALUE_PARAMETER name:x index:0 type:kotlin.ULong + annotations: + ImplicitIntegerCoercion + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun testLong (x: kotlin.ULong): kotlin.ULong declared in ' + TYPE_OP type=kotlin.ULong origin=CAST typeOperand=kotlin.ULong + GET_VAR 'x: kotlin.ULong declared in .testLong' type=kotlin.ULong origin=null FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String BLOCK_BODY RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in ' @@ -34,20 +42,35 @@ FILE fqName: fileName:/test.kt BRANCH if: CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ $this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ - arg0: CALL 'public final fun test (x: kotlin.UInt): kotlin.UInt declared in ' type=kotlin.UInt origin=null - x: CALL 'public final fun toUInt (): kotlin.UInt [inline] declared in kotlin.UIntKt' type=kotlin.UInt origin=null - $receiver: CONST Int type=kotlin.Int value=5 + arg0: CALL 'public final fun testInt (x: kotlin.UInt): kotlin.UInt declared in ' type=kotlin.UInt origin=null + x: CONST Int type=kotlin.UInt value=5 arg1: CALL 'public final fun toUInt (): kotlin.UInt [inline] declared in kotlin.UIntKt' type=kotlin.UInt origin=null $receiver: CONST Int type=kotlin.Int value=5 - then: CONST String type=kotlin.String value="Fail: test(5)" + then: CONST String type=kotlin.String value="Fail: testInt(5)" BRANCH if: CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ $this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ - arg0: CALL 'public final fun test (x: kotlin.UInt): kotlin.UInt declared in ' type=kotlin.UInt origin=null - x: CONST Int type=kotlin.Int value=5 + arg0: CALL 'public final fun testInt (x: kotlin.UInt): kotlin.UInt declared in ' type=kotlin.UInt origin=null + x: CONST Int type=kotlin.UInt value=5 arg1: CALL 'public final fun toUInt (): kotlin.UInt [inline] declared in kotlin.UIntKt' type=kotlin.UInt origin=null $receiver: CONST Int type=kotlin.Int value=5 - then: CONST String type=kotlin.String value="Fail: test(x = 5)" + then: CONST String type=kotlin.String value="Fail: testInt(x = 5)" + BRANCH + if: CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ + $this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ + arg0: CALL 'public final fun testLong (x: kotlin.ULong): kotlin.ULong declared in ' type=kotlin.ULong origin=null + x: CONST Long type=kotlin.ULong value=5 + arg1: CALL 'public final fun toULong (): kotlin.ULong [inline] declared in kotlin.ULongKt' type=kotlin.ULong origin=null + $receiver: CONST Long type=kotlin.Long value=5 + then: CONST String type=kotlin.String value="Fail: testLong(5L)" + BRANCH + if: CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ + $this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ + arg0: CALL 'public final fun testLong (x: kotlin.ULong): kotlin.ULong declared in ' type=kotlin.ULong origin=null + x: CONST Long type=kotlin.ULong value=5 + arg1: CALL 'public final fun toULong (): kotlin.ULong [inline] declared in kotlin.ULongKt' type=kotlin.ULong origin=null + $receiver: CONST Long type=kotlin.Long value=5 + then: CONST String type=kotlin.String value="Fail: testLong(x = 5L)" BRANCH if: CONST Boolean type=kotlin.Boolean value=true then: CONST String type=kotlin.String value="OK" diff --git a/compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt b/compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt new file mode 100644 index 00000000000..0832262b05d --- /dev/null +++ b/compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt @@ -0,0 +1,33 @@ +// ISSUE: KT-57655 +// !LANGUAGE: +ImplicitSignedToUnsignedIntegerConversion +// ALLOW_KOTLIN_PACKAGE +// WITH_STDLIB +// DUMP_IR + +// IGNORE_BACKEND_K1: ANDROID +// STATUS: +// This line has been added because of the `AndroidRunner` test. +// This test runner appends a path-like prefix to all fully-qualified names, +// but the compiler logic for `ImplicitSignedToUnsignedIntegerConversion` +// relies on the ability to check exactly `kotlin.internal.ImplicitIntegerCoercion`. + +// FILE: annotation.kt + +package kotlin.internal + +annotation class ImplicitIntegerCoercion + +// FILE: test.kt + +import kotlin.internal.ImplicitIntegerCoercion + +fun testInt(@ImplicitIntegerCoercion x: UInt) = x as UInt +fun testLong(@ImplicitIntegerCoercion x: ULong) = x as ULong + +fun box(): String = when { + testInt(5) != 5.toUInt() -> "Fail: testInt(5)" + testInt(x = 5) != 5.toUInt() -> "Fail: testInt(x = 5)" + testLong(5) != 5L.toULong() -> "Fail: testLong(5L)" + testLong(x = 5) != 5L.toULong() -> "Fail: testLong(x = 5L)" + else -> "OK" +} diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java index d5eddbccef7..e667dc86cc0 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java @@ -3578,12 +3578,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { 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("javaField.kt") public void testJavaField() throws Exception { @@ -49293,6 +49287,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @Test + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @Test @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java index 8fd2c008190..308606b9f3c 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java @@ -3734,12 +3734,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes 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("javaField.kt") public void testJavaField() throws Exception { @@ -51903,6 +51897,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @Test + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @Test @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java index db0a5eec1e7..8d9debbbaaa 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java @@ -3734,12 +3734,6 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack 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("javaField.kt") public void testJavaField() throws Exception { @@ -51903,6 +51897,12 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @Test + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @Test @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { diff --git a/compiler/tests-common/tests/org/jetbrains/kotlin/codegen/AbstractLightAnalysisModeTest.kt b/compiler/tests-common/tests/org/jetbrains/kotlin/codegen/AbstractLightAnalysisModeTest.kt index 59bf9d941bc..a7cbfd826aa 100644 --- a/compiler/tests-common/tests/org/jetbrains/kotlin/codegen/AbstractLightAnalysisModeTest.kt +++ b/compiler/tests-common/tests/org/jetbrains/kotlin/codegen/AbstractLightAnalysisModeTest.kt @@ -42,7 +42,8 @@ abstract class AbstractLightAnalysisModeTest : CodegenTestCase() { override fun doMultiFileTest(wholeFile: File, files: List) { var isIgnored = false for (file in files) { - if (file.content.contains(failDirective)) throw RuntimeException("Forced ignore for this test") + if (file.content.contains(failDirective)) + throw RuntimeException("Forced ignore for this test") if (!isIgnored && ignoreDirectives.any { file.content.contains(it) }) isIgnored = true } if (isIgnored) return diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index ee4cf524ed7..a11589e28d4 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -3131,11 +3131,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt"); } - @TestMetadata("implicitIntegerCoercionNamedArg.kt") - public void testImplicitIntegerCoercionNamedArg() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/bound/implicitIntegerCoercionNamedArg.kt"); - } - @TestMetadata("javaField.kt") public void testJavaField() throws Exception { runTest("compiler/testData/codegen/box/callableReference/bound/javaField.kt"); @@ -40116,6 +40111,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { runTest("compiler/testData/codegen/box/unsignedTypes/inUnsignedDownTo.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenBoxTestGenerated.java index 32ee10df5cc..2e217ee8446 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenBoxTestGenerated.java @@ -2402,12 +2402,6 @@ 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 { @@ -36713,6 +36707,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @Test + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @Test @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java index 6c00ed290b7..1d85f87510f 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java @@ -2456,12 +2456,6 @@ 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 { @@ -37055,6 +37049,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @Test + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @Test @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java index bfec440f5c4..b5d9772c91d 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java @@ -2456,12 +2456,6 @@ 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 { @@ -37055,6 +37049,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @Test + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @Test @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java index 62bd24f7f68..e02d01dc7e5 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java @@ -2456,12 +2456,6 @@ 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 { @@ -37055,6 +37049,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @Test + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @Test @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java index 642aec490e8..fa6147fd2ff 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java @@ -2575,12 +2575,6 @@ 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 { @@ -41245,6 +41239,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @Test + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @Test @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java index bbcf9f6f9c4..f3560c711d3 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java @@ -2637,12 +2637,6 @@ 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 { @@ -42267,6 +42261,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @Test + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @Test @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java index b74f2a54d67..4b26a0a85e1 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java @@ -2544,12 +2544,6 @@ 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 { @@ -40734,6 +40728,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @Test + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @Test @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java index 2d6c0a52537..e26b4a8012c 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java @@ -2606,12 +2606,6 @@ 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 { @@ -41756,6 +41750,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @Test + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @Test @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxWasmTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxWasmTestGenerated.java index 281f3b54723..6d592a5b769 100644 --- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxWasmTestGenerated.java +++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxWasmTestGenerated.java @@ -2181,11 +2181,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt"); } - @TestMetadata("implicitIntegerCoercionNamedArg.kt") - public void testImplicitIntegerCoercionNamedArg() throws Exception { - runTest("compiler/testData/codegen/box/callableReference/bound/implicitIntegerCoercionNamedArg.kt"); - } - @TestMetadata("kCallableNameIntrinsic.kt") public void testKCallableNameIntrinsic() throws Exception { runTest("compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt"); @@ -33101,6 +33096,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt"); } + @TestMetadata("implicitIntegerCoercionNamedArg.kt") + public void testImplicitIntegerCoercionNamedArg() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/implicitIntegerCoercionNamedArg.kt"); + } + @TestMetadata("inUnsignedDownTo.kt") public void testInUnsignedDownTo() throws Exception { runTest("compiler/testData/codegen/box/unsignedTypes/inUnsignedDownTo.kt");