5cdda48487
This would make behaviour more consistent with jvm. There is still a difference in behaviour about point where side effects happen. ^KT-52970
7 lines
129 B
Kotlin
Vendored
7 lines
129 B
Kotlin
Vendored
open class A(val a: String = DEFAULT_A){
|
|
companion object: A(){
|
|
const val DEFAULT_A = "OK"
|
|
}
|
|
}
|
|
|
|
fun box() = A().a |