Hey there, I am using kscript for writing down a s...
# scripting
p
Hey there, I am using kscript for writing down a script and just added a lazy val, but am getting this error :
Copy code
error: cannot choose among the following candidates without completing type inference: 
public fun <T> lazy(initializer: () -> ???): Lazy<???> defined in kotlin
public fun <T> lazy(initializer: () -> ???): Lazy<???> defined in kotlin
Not sure what to do. I cleared cache but still lingers on. I only have one lazy evaluation and it is breaking on it :
val ss: String by lazy { "hello" }
Any ideas on what could be going on?
h
Could you file a complete example as a ticket under https://github.com/holgerbrandl/kscript/issues