[JS IR] stdlib: Fix bugs in Long.toString(radix)

This commit is contained in:
Svyatoslav Kuzmich
2019-05-05 18:54:33 +03:00
parent bc29a5b15c
commit e3bcabeae3
6 changed files with 36 additions and 13 deletions
@@ -113,14 +113,6 @@ public actual inline fun Byte.toString(radix: Int): String = this.toInt().toStri
@kotlin.internal.InlineOnly
public actual inline fun Short.toString(radix: Int): String = this.toInt().toString(radix)
/**
* Returns a string representation of this [Long] value in the specified [radix].
*
* @throws IllegalArgumentException when [radix] is not a valid radix for number to string conversion.
*/
@SinceKotlin("1.2")
public actual fun Long.toString(radix: Int): String = asDynamic().toString(checkRadix(radix))
/**
* Returns a string representation of this [Int] value in the specified [radix].
*