Noticed that the following code produces a lot of Parse error: nil
messages.
(local fennel (require :fennel))
(fennel.repl {:readChunk #(error "oh no!")})
I suppose the nil
there should have been oh no!
.
I just pushed a fix that I believe will cover this for you; not just
readChunk
, but all parser errors in the REPL were being swallowed and returned as nil due to a variable name change a while back that accidentally left a dangling undefined sym. SincereadChunk
is wrapped and indirectly invoked by the parser, it should fix this as well, but feel free to reopen if it doesn't :)
the fix works, thanks!