fennelrepl runs with --correlate

this is so that error message line numbers match up
doc-do-over
Daniel Barlow 2023-09-08 21:02:26 +01:00
parent 7fc5d2934d
commit eaa45906ff
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ in writeScriptBin "fennelrepl" ''
end
if #arg > 0 then
script = table.remove(arg, 1)
fennel.dofile(script, {}, arg)
fennel.dofile(script, {correlate = true}, arg)
else
fennel.repl()
end