8577d3ca55
Preserve white spaces inside code blocks Introduce WhiteSpaceSeparatedElementList which keeps track of whitespaces Introduce StatementList Change old test data accordingly
15 lines
400 B
Kotlin
15 lines
400 B
Kotlin
public open class NonDefault() {
|
|
class object {
|
|
public open fun main(args: Array<String?>?) {
|
|
|
|
var value: Int = 3
|
|
var valueString: String? = ""
|
|
when (value) {
|
|
else -> {
|
|
}
|
|
}
|
|
System.out?.println(valueString)
|
|
}
|
|
}
|
|
}
|
|
fun main(args: Array<String>) = NonDefault.main(args as Array<String?>?) |