Join Slack
Is it possible to delegate an interface to a `lateinit` var? My attempts at doing so result in an In...
# getting-started
v
vanshg
01/18/2023, 3:27 AM
Is it possible to delegate an interface to a
lateinit
var? My attempts at doing so result in an Initialization exception, and I can't find anything else about it on formus/SO. Is there some way to foce the compiler to allow this?
🚫 1
e
ephemient
01/18/2023, 4:25 AM
https://youtrack.jetbrains.com/issue/KT-83
v
vanshg
01/18/2023, 4:34 AM
Perfect, that was exactly the issue I was hoping to track down to follow. Thank you for linking it
22
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by