mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 20:54:26 +08:00
Continue scalac compilation until just before bytecode generation
Previous behavior does not compile deep enough to surface errors. See compiler phases: https://docs.scala-lang.org/overviews/compiler-options/index.html#compilation-phases
This commit is contained in:
@@ -9,7 +9,7 @@ endfunction
|
||||
call ale#linter#Define('scala', {
|
||||
\ 'name': 'scalac',
|
||||
\ 'executable_callback': {buf -> s:IsSbt(buf) ? '' : 'scalac'},
|
||||
\ 'command': '%e -Ystop-after:parser %t',
|
||||
\ 'command': '%e -Ystop-before:jvm %t',
|
||||
\ 'callback': 'ale#handlers#scala#HandleScalacLintFormat',
|
||||
\ 'output_stream': 'stderr',
|
||||
\})
|
||||
|
||||
Reference in New Issue
Block a user