mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 05:24:46 +08:00
#852 - Capture error codes for nimcheck
This commit is contained in:
@@ -12,25 +12,27 @@ Execute(Parsing nim errors should work):
|
||||
\ {
|
||||
\ 'lnum': 8,
|
||||
\ 'col': 8,
|
||||
\ 'text': 'Warning: use {.base.} for base methods; baseless methods are deprecated [UseBase]',
|
||||
\ 'text': 'use {.base.} for base methods; baseless methods are deprecated',
|
||||
\ 'code': 'UseBase',
|
||||
\ 'type': 'W',
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 12,
|
||||
\ 'col': 2,
|
||||
\ 'text': 'Error: identifier expected, but found ''a.barfoo''',
|
||||
\ 'text': 'identifier expected, but found ''a.barfoo''',
|
||||
\ 'type': 'E',
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 2,
|
||||
\ 'col': 5,
|
||||
\ 'text': 'Hint: ''NotUsed'' is declared but not used [XDeclaredButNotUsed]',
|
||||
\ 'text': '''NotUsed'' is declared but not used',
|
||||
\ 'code': 'XDeclaredButNotUsed',
|
||||
\ 'type': 'W',
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 12,
|
||||
\ 'col': 2,
|
||||
\ 'text': 'Error: with : character',
|
||||
\ 'text': 'with : character',
|
||||
\ 'type': 'E',
|
||||
\ },
|
||||
\ ],
|
||||
|
||||
Reference in New Issue
Block a user