Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Idris exits when parsing malformed code file #4013
Steps to Reproduce
Place this into a file
idris should hint that there is a parse error, but it should not quit. Especially in ide-mode as this kills the process without the application being potentially aware of it. In ide-mode it should also send parseable error information.
Idris simply quits.
referenced this issue
Aug 22, 2017
Hi @justjoheinz thanks for the issue report. I've fixed the typo in the title. Nested comments are one of those tricky things, however, I think it is more important if Idris' behaviour across the different modes is made more expected. If I find time, I'll try to have a look at it.
The file can be simplified to
Try to put it under some code and Idris doesn't quit.
The reason for the behavior is in the import parsing code (