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
module Main
main : IO ()
main = putStrLn "Hello"
(*)
place the cursor in the empty line marked with (*) and ask idris to insert a with clause. Atom will send a request with an empty word.
Expected Behavior
Even when sending a wrong request to idris in ide-mode it should probably reply with a reasonable error message
Observed Behavior
Idris crashes.
The fix in Atom is simple enough, one just has to make sure that the command is not send when the word under the cursor is empty. However I think this is still a bug, as idris should simply not crash.
The text was updated successfully, but these errors were encountered:
Steps to Reproduce
given the following program (running atom):
place the cursor in the empty line marked with (*) and ask idris to insert a with clause. Atom will send a request with an empty word.
Expected Behavior
Even when sending a wrong request to idris in ide-mode it should probably reply with a reasonable error message
Observed Behavior
Idris crashes.
The fix in Atom is simple enough, one just has to make sure that the command is not send when the word under the cursor is empty. However I think this is still a bug, as idris should simply not crash.
The text was updated successfully, but these errors were encountered: