Files
kotlin-fork/compiler/testData/codegen/box/classes/kt508.kt
T
Alexander Udalov 41a416da60 Move blackBoxFile() testData to box/ directory
Delete all test methods (and empty test classes), since they'll be
auto-generated
2013-01-28 18:20:17 +04:00

18 lines
374 B
Kotlin

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