Files
kotlin/compiler/testData/codegen/box/classes/kt508.kt
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00

18 lines
376 B
Kotlin

package mult_constructors_3_bug
public open class Identifier() {
private var myNullable : Boolean = true
default object {
open public fun init(isNullable : Boolean) : Identifier {
val __ = Identifier()
__.myNullable = isNullable
return __
}
}
}
fun box() : String {
Identifier.init(true)
return "OK"
}