K2: support implicit integer to unsigned conversions...

with dedicated opt-in language feature and special
annotation or module capability.
Not intended for a general use, solves specific K/N
scenario with interop libs.
#KT-55902 fixed
This commit is contained in:
Ilya Chernikov
2023-02-04 13:21:58 +01:00
committed by Space Team
parent 3e2f8b834c
commit be2a85be71
30 changed files with 581 additions and 29 deletions
@@ -32858,6 +32858,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/unsignedTypes/nullableUnsignedEqualsLiteral.kt");
}
@TestMetadata("signedToUnsignedConversions.kt")
public void testSignedToUnsignedConversions() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/signedToUnsignedConversions.kt");
}
@TestMetadata("unsignedArraySize.kt")
public void testUnsignedArraySize() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedArraySize.kt");