aboutsummaryrefslogtreecommitdiff
path: root/nomsu_compiler.moon
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu_compiler.moon')
-rw-r--r--nomsu_compiler.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu_compiler.moon b/nomsu_compiler.moon
index 97cb0a7..c71ee1d 100644
--- a/nomsu_compiler.moon
+++ b/nomsu_compiler.moon
@@ -98,7 +98,7 @@ compile = setmetatable({
--if path.type == 'Text' and #path == 1 and type(path[1]) == 'string'
-- unless import_to_1_from(compile, path[1])
-- compile_error tree, "Could not find anything to import for #{path}"
- return LuaCode("run_file_1_in(#{compile(path)}, _ENV)")
+ return LuaCode("run_file_1_in(#{compile(path)}, _ENV, OPTIMIZATION)")
["tests"]: (compile)-> LuaCode("TESTS")
["test"]: (compile, body)->