You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. First of all, thank you for your work on the plugin, it has worked great so far for me. However, I recently noticed that errors during recompilation of previously compiled modules are no longer shown.
Steps to reproduce:
Create a file ~/.config/nvim/fnl/test.fnl with valid content, e.g. (print :hello)
Require it via :=require'test'<CR>
Create a syntax error in test.fnl, e.g. by removing the closing parenthesis.
Unload the modul via :lua package.loaded['test'] = nil
Rerequire it via :=require'test'<CR>
Until recently, the last require would've produced an error displaying the error description produced by fennel. But now it just fails silently, loading the last succesfully compiled Lua file. When changing test.fnl without any syntax erros, the last require correctly picks up the changes.
I'll have to admit that I haven't read all the API documentation yet, so I can't say for sure if this is the intended way to do this, I only noted the regression; if there is another more "correct" way to recompile a module, I'd appreciate a pointer in the right direction.
The text was updated successfully, but these errors were encountered:
It will ask for confirmation to clear the cache and it clears the whole cache so its a pretty blunt instrument, but I will add an option in the upcoming to skip the prompt too.
Hi. First of all, thank you for your work on the plugin, it has worked great so far for me. However, I recently noticed that errors during recompilation of previously compiled modules are no longer shown.
Steps to reproduce:
~/.config/nvim/fnl/test.fnl
with valid content, e.g.(print :hello)
:=require'test'<CR>
test.fnl
, e.g. by removing the closing parenthesis.:lua package.loaded['test'] = nil
:=require'test'<CR>
Until recently, the last require would've produced an error displaying the error description produced by fennel. But now it just fails silently, loading the last succesfully compiled Lua file. When changing
test.fnl
without any syntax erros, the last require correctly picks up the changes.I'll have to admit that I haven't read all the API documentation yet, so I can't say for sure if this is the intended way to do this, I only noted the regression; if there is another more "correct" way to recompile a module, I'd appreciate a pointer in the right direction.
The text was updated successfully, but these errors were encountered: