Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'dirty' error message ([idris/idris]) #50

Open
michelrandahl opened this issue May 16, 2016 · 4 comments
Open

'dirty' error message ([idris/idris]) #50

michelrandahl opened this issue May 16, 2016 · 4 comments

Comments

@michelrandahl
Copy link

when getting a type error, my error message in vim looks like this:

|| datastore.idr:62:48-49: [idris/idris]
|| When checking right hand side of Main.case block in case block in parsePrefix at datastore.idr:57:8 at datastore.idr:60:14 with expected type [idris/idris]
||         Maybe (Char, String) [idris/idris]
|| When checking argument a to constructor Builtins.MkPair: [idris/idris]
||         Type mismatch between [idris/idris]
||                 (A, B) (Type of (a, b)) [idris/idris]
||         and [idris/idris]
||                 Char (Expected type) [idris/idris]
|| datastore.idr:108:1-8:When checking left hand side of display: [idris/idris]
|| When checking an application of Main.display: [idris/idris]
||         Type mismatch between [idris/idris]
||                 (A, B) (Type of (a, b)) [idris/idris]
||         and [idris/idris]
||                 Char (Expected type) [idris/idris]

Is it possible to get those error messages without having [idris/idris] written all over the place? (is it perhaps my vim setup that's causing all this noise in the output?)

@yacinehmito
Copy link

What is displayed if you reload the file in the REPL instead of using Vim? Does it appear aswell?

@michelrandahl
Copy link
Author

reloading in the repl is the same output, just without the [idris/idris] stuff

@michelrandahl
Copy link
Author

I am using GNOME Terminal and Vim-bootstrap http://vim-bootstrap.com/ if that has anything to say

@yacinehmito
Copy link

I can't tell you why it does this. However, I think it might be related to syntastic. idris is the name of the language but also the name of the checker, which would explain an [idris/idris] at the end of every line.

Try disabling some syntastic options in your .vimrc to see if one is responsible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants