Add intrinsic for ULong/UInt.toString on Java 8+

Unfortunately this cannot currently be done for the extension overload which accepts a radix due to behavior difference with regard to invalid radix values.
This commit is contained in:
Jake Wharton
2019-07-03 21:54:54 -04:00
committed by max-kammerer
parent b7917978b8
commit 4386518c4d
13 changed files with 158 additions and 1 deletions
@@ -19365,6 +19365,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder.kt");
}
@TestMetadata("unsignedIntToString.kt")
public void testUnsignedIntToString() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntToString.kt");
}
@TestMetadata("unsignedLiteralsForMaxLongValue.kt")
public void testUnsignedLiteralsForMaxLongValue() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt");
@@ -19390,6 +19395,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder.kt");
}
@TestMetadata("unsignedLongToString.kt")
public void testUnsignedLongToString() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongToString.kt");
}
@TestMetadata("unsignedRangeIterator.kt")
public void testUnsignedRangeIterator() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedRangeIterator.kt");
@@ -20520,6 +20520,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder.kt");
}
@TestMetadata("unsignedIntToString.kt")
public void testUnsignedIntToString() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntToString.kt");
}
@TestMetadata("unsignedLiteralsForMaxLongValue.kt")
public void testUnsignedLiteralsForMaxLongValue() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt");
@@ -20545,6 +20550,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder.kt");
}
@TestMetadata("unsignedLongToString.kt")
public void testUnsignedLongToString() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongToString.kt");
}
@TestMetadata("unsignedRangeIterator.kt")
public void testUnsignedRangeIterator() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedRangeIterator.kt");