Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
75d8a5bca606366254123abd80c77147a3d426a6
/
.
/
compiler
/
testData
/
codegen
/
box
/
strings
/
stringBuilderAppend.kt
blob: bdc9c6068a09ed3fae6f733143bf46e42d92390c [
file
]
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
class
A
()
{
override
fun toString
():
String
{
return
"A"
}
}
fun box
()
:
String
{
val s
=
"1"
+
"2"
+
3
+
4L
+
5.0
+
6F
+
'7'
+
A
()
if
(
s
!=
"12345.06.07A"
)
return
"fail $s"
return
"OK"
}