Closed scotek closed 3 years ago
Thanks for the contributions!
I am not sure what is going on here, I am not an emacs lisp expert nor how this ties into ide-protocol...It might be that something has diverged somewhere.
Might be one to bring up on the mailing list.
fixed in #511
Trying to perform a proof search while connected to Idris 2 always fails with an error, which also hangs Emacs (I'm using GNU Emacs 26.1, Idris 2 from git
db9f7bbf
on WSL ).Example input file:
Move point to somewhere inside the
?aaa
hole and attempt to solve hole. The following error appears in the mini-buffer:(Emacs then hangs with a spinning activity cursor and needs to be killed)
I've tried to go through both
idris-mode
and Idris 2's IDE mode code but the elisp is too advanced for me to follow properly. I can get proof search working if I remove thehints
anddepth
arguments from theidris-eval
call inidris-proof-search
. ie,idris-commands.el
line 745 becomes:Proof search calls then work as expected in both Idris 2 and Idris 1, but this removes the optional extra functionality when using Idris 1.