LastExceed
10/30/2021, 8:01 AMlateinit
for properties of non-primitive inline/value types
@JvmInline
value class Id(val value: String)
class MyClass {
lateinit var id1: String //this is fine
lateinit var id2: Id //so this should be too
}
ephemient
10/30/2021, 8:04 AMephemient
10/30/2021, 8:05 AMvar id2: Id by Delegates.notNull()
Ayfri
10/30/2021, 9:33 AMLastExceed
10/30/2021, 1:25 PMisInitialized
for that workaround?ephemient
10/30/2021, 9:56 PMephemient
10/30/2021, 9:58 PMDelegates.notNull
doesn't expose that informationephemient
10/30/2021, 11:35 PM