fixed CLI for new compiler interface
This commit is contained in:
1 parent
30b6ef235b
commit
f1ae4b2d23
1 file changed
+1
-1
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user