spand
12/06/2018, 9:06 AMisInitialized
on a local variable (ie. not property) lateinit var
? If so what is the syntaxPavlo Liapota
12/06/2018, 9:18 AMspand
12/06/2018, 9:24 AMspand
12/06/2018, 9:25 AMval
and use that for autocastingJphi
12/06/2018, 10:28 AMspand
12/06/2018, 10:32 AMError:(46, 11) Kotlin: Unsupported [References to variables aren't supported yet]
spand
12/06/2018, 10:33 AMfun foo(){
lateinit var bar: String
if (::bar.isInitialized){
}
}
Jphi
12/06/2018, 10:38 AM