diff options
author | Zack Hsi <zackhsi@gmail.com> | 2018-11-16 15:31:13 -0800 |
---|---|---|
committer | Zack Hsi <zackhsi@gmail.com> | 2018-11-16 15:31:13 -0800 |
commit | c25582076cba2b83da1608faac1e093443d866ff (patch) | |
tree | 802e8e43f7a9be87c0dae4962c84c8f303bf1a7a /ale_linters/scala | |
parent | dd7b2188ab2cc50d548d38f8ebfcccc1ae61983a (diff) | |
download | ale-c25582076cba2b83da1608faac1e093443d866ff.zip |
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
Diffstat (limited to 'ale_linters/scala')
-rw-r--r-- | ale_linters/scala/scalac.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/scala/scalac.vim b/ale_linters/scala/scalac.vim index 3dbdd925..ba105927 100644 --- a/ale_linters/scala/scalac.vim +++ b/ale_linters/scala/scalac.vim @@ -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', \}) |