Revert "[JS IR] [runtime] Remove valueOf method from Long"
This reverts commit e13b6b2a90.
The significance of the breakage caused by the removal of `valueOf`
was underestimated.
#KT-50202 Open
This commit is contained in:
+2
-2
@@ -27,7 +27,7 @@ fun testKt14013() {
|
||||
if (testUtils.isLegacyBackend()) {
|
||||
assertEquals(",1;[...];,1;", pullLog(), "testKt14013")
|
||||
} else {
|
||||
assertEquals(",1;[...];[...];", pullLog(), "testKt14013")
|
||||
assertEquals("[...];[...];[...];", pullLog(), "testKt14013")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ fun box(): String {
|
||||
if (testUtils.isLegacyBackend()) {
|
||||
assertEquals("1,2,3;1,2,3;[...];", pullLog(), "anyValueToString")
|
||||
} else {
|
||||
assertEquals("[...];1,2,3;1,2,3;", pullLog(), "anyValueToString")
|
||||
assertEquals("[...];[...];[...];", pullLog(), "anyValueToString")
|
||||
}
|
||||
|
||||
return "OK"
|
||||
|
||||
Reference in New Issue
Block a user