Closed yacinehmito closed 1 month ago
The bug seems to be introduced by the d9f312d76afb7c009f0eea163df01146c71bc8dd commit. See my comment
Apparently vim doesn't send the whole file to the REPL and some important bits in the where
clause seems needed in order to type-check. I can't debug further.
Using IdrisReload
instead of IdrisReloadToLine
seems to work just fine.
https://github.com/artemohanjanyan/idris-vim/commit/86c544bc88e69d057cf0021c98addf38a230320f
Close?
It's been eight years. I am closing if you don't mind.
Given this snippet:
This type-checks fine but I can't query the type of
?two_rhs
using vim interactive editing (<Leader> + t
) by default. When loading in the REPL,:t two_rhs
works fine too.The error:
However, querying the type of
?three_rhs
in this snippet works fine: