Add run builtin and unignore ScriptTest toString/getter

This commit is contained in:
sergeych committed 2026-01-30 20:26:53 +03:00
1 parent 348052991c
commit f9c29e742a
2 files changed
+6 -7

No files matched your search

@@ -343,6 +343,9 @@ class Script(
this.trace(args.getOrNull(0)?.toString() ?: "")
ObjVoid
}
addFn("run") {
requireOnlyArg<Statement>().execute(this)
}
addVoidFn("delay") {
val a = args.firstAndOnly()