cfd476ca7e
#KT-33756 fixed
8 lines
348 B
Kotlin
Vendored
8 lines
348 B
Kotlin
Vendored
object ArrayInitializerBugKt {
|
|
private val GREETING = byteArrayOf('H'.toByte(), 'e'.toByte(), 'l'.toByte(), 'l'.toByte(), 'o'.toByte(), ','.toByte(), ' '.toByte(), 'b'.toByte(), 'u'.toByte(), 'g'.toByte(), '!'.toByte())
|
|
@JvmStatic
|
|
fun main(args: Array<String>) {
|
|
val greeting = String(GREETING)
|
|
println(greeting)
|
|
}
|
|
} |