two observations: - `scriptBodyTarget` doesn't ex...
# scripting
e
two observations: •
scriptBodyTarget
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
Copy code
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)