summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Hsi <zackhsi@gmail.com>2018-11-16 15:31:13 -0800
committerZack Hsi <zackhsi@gmail.com>2018-11-16 15:31:13 -0800
commitc25582076cba2b83da1608faac1e093443d866ff (patch)
tree802e8e43f7a9be87c0dae4962c84c8f303bf1a7a
parentdd7b2188ab2cc50d548d38f8ebfcccc1ae61983a (diff)
downloadale-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
-rw-r--r--ale_linters/scala/scalac.vim2
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',
\})