mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 20:54:26 +08:00
#502 Parse more undefined symbol errors
This commit is contained in:
@@ -86,7 +86,7 @@ function! ale_linters#java#javac#Handle(buffer, lines) abort
|
||||
" Main.java:16: error: ';' expected
|
||||
|
||||
let l:pattern = '\v^.*:(\d+): (.+):(.+)$'
|
||||
let l:symbol_pattern = '\v^ +symbol: *(class) +([^ ]+)'
|
||||
let l:symbol_pattern = '\v^ +symbol: *(class|method) +([^ ]+)'
|
||||
let l:output = []
|
||||
|
||||
for l:match in ale#util#GetMatches(a:lines, [l:pattern, l:symbol_pattern])
|
||||
|
||||
Reference in New Issue
Block a user