Merge boxWithStdlib testData into box, delete BoxWithStdlib test
This commit is contained in:
committed by
Alexander Udalov
parent
22bfc9786a
commit
06a67e6602
@@ -0,0 +1,13 @@
|
||||
// WITH_RUNTIME
|
||||
// See KT-10107: 'Variable must be initialized' for delegate with private set
|
||||
|
||||
class My {
|
||||
var delegate: String by kotlin.properties.Delegates.notNull()
|
||||
private set
|
||||
|
||||
init {
|
||||
delegate = "OK"
|
||||
}
|
||||
}
|
||||
|
||||
fun box() = My().delegate
|
||||
Reference in New Issue
Block a user