mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
Includes changes to decompiled text Old syntax is used in builtins and project code for now
18 lines
376 B
Kotlin
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"
|
|
}
|