Compiler refactored: CompilerContext now is class member
This commit is contained in:
1 parent
950e8301c3
commit
6cf99fbd13
4 files changed
+156
-164
No files matched your search
@@ -118,7 +118,7 @@ suspend fun executeFile(fileName: String) {
|
||||
text = text.substring(pos + 1)
|
||||
}
|
||||
processErrors {
|
||||
Compiler().compile(Source(fileName, text)).execute(baseContext)
|
||||
Compiler.compile(Source(fileName, text)).execute(baseContext)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user