mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
The newly added pass folds the set of constant functions of the current backend, plus IrBuiltIns.
16 lines
236 B
Kotlin
Vendored
16 lines
236 B
Kotlin
Vendored
class A() {
|
|
|
|
override fun toString(): String {
|
|
return "A"
|
|
}
|
|
}
|
|
|
|
|
|
fun box(a: String, b: String) : String {
|
|
|
|
val s = a + "1" + "2" + 3 + 4L + b + 5.0 + 6F + '7' + A()
|
|
|
|
return "OK"
|
|
}
|
|
|
|
// 1 NEW java/lang/StringBuilder |