All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
4 " Set TMPDIR so the temporary file checks work.
7 runtime ale_linters/idris/idris.vim
12 call ale#linter#Reset()
14 Execute(The idris handler should parse messages that reference a single column):
16 call ale#test#SetFilename($TEMP . '\foo.idr')
18 call ale#test#SetFilename('/tmp/foo.idr')
27 \ 'text': 'When checking right hand side of main with expected type IO () When checking an application of function Prelude.Monad.>>=: Type mismatch between IO () (Type of putStrLn _) and _ -> _ (Is putStrLn _ applied to too many arguments?) Specifically: Type mismatch between IO and \uv => _ -> uv'
30 \ ale_linters#idris#idris#Handle(bufnr(''), [
31 \ expand('%:p') . ':4:5:',
32 \ 'When checking right hand side of main with expected type',
35 \ 'When checking an application of function Prelude.Monad.>>=:',
36 \ ' Type mismatch between',
37 \ ' IO () (Type of putStrLn _)',
39 \ ' _ -> _ (Is putStrLn _ applied to too many arguments?)',
42 \ ' Type mismatch between',
48 Execute(The idris handler should parse messages that reference a column range):
49 call ale#test#SetFilename('/tmp/foo.idr')
57 \ 'text': 'When checking right hand side of Main.case block in main at /tmp/foo.idr:10:10 with expected type IO () Last statement in do block must be an expression'
60 \ ale_linters#idris#idris#Handle(bufnr(''), [
61 \ expand('%:p') . ':11:11-13:',
62 \ 'When checking right hand side of Main.case block in main at /tmp/foo.idr:10:10 with expected type',
65 \ 'Last statement in do block must be an expression',