fixed CLI for new compiler interface

This commit is contained in:
Sergey Chernov 2025-07-10 12:47:00 +03:00
parent 30b6ef235b
commit f1ae4b2d23

View File

@ -144,7 +144,7 @@ suspend fun executeFile(fileName: String) {
text = text.substring(pos + 1)
}
processErrors {
Compiler.compile(Source(fileName, text)).execute(baseScope)
baseScope.eval(Source(fileName, text))
}
}