We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05c3725 commit c783effCopy full SHA for c783eff
test2.moon
@@ -95,9 +95,9 @@ describe "input tests", ->
95
file_str = read_all input_fname name
96
97
parse_time, tree, err = benchmark -> parse.string file_str
98
- return err if err
+ error err if err
99
compile_time, code, err, pos = benchmark -> compile.tree tree
100
- return compile.format_error err, pos, file_str unless code
+ error compile.format_error err, pos, file_str unless code
101
102
table.insert timings, {name, parse_time, compile_time}
103
0 commit comments