elect
07/20/2022, 9:40 AMscriptBodyTarget
doesn't exist, probably a relict or to be implemented
• unless I explicitly force the superclass by defining baseClass
, the script class doesn't seem to implement the Script class defined by @KotlinScript
val res = evalFile(File("$TEST_DATA/hello-resolve-junit.tf.kts"))
val inst = res.valueOrThrow().returnValue.scriptInstance!! as Script
println(inst.pro2) // works only with baseClass(Script::class)