spragg09/10/2017, 11:35 PM
is initialised without using it and catching the exception? or am I going to have to change it to a nullable ?
karelpeeters09/10/2017, 11:36 PM
is not really the right tool anymore, just use a nullable instead.
spragg09/10/2017, 11:40 PM
but that is getting triggered before
. Thanks for the reply
russhwolf09/11/2017, 12:31 AM
for this, especially in your case because you're initializing in a somewhat unusual location. But see also https://youtrack.jetbrains.com/issue/KT-9327 if you do want the ability to check initialization of
Dalinar09/11/2017, 12:55 AM
. You can still work around it but it's a bit "ugly" - I really needed often in my JS code but in regular JVM Kotlin I also run into it once in a while