summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-12-03 20:39:10 +0000
committerw0rp <devw0rp@gmail.com>2018-12-03 20:39:10 +0000
commit6f32f002e7ae19cecbca4d6eecd618c5a7a722da (patch)
treeef6b0cf668a5386ba99e171da8031c89f71a3a7b
parent9eda079e021a97d790fa7caef458888ce4a86196 (diff)
downloadale-6f32f002e7ae19cecbca4d6eecd618c5a7a722da.zip
Revert "Merge pull request #2083 from zackhsi/scalac-until-jvm"
This reverts commit 1c89495d771ec6518599bea83dd11a7c1d66ba73, reversing changes made to 4b4b09593b2b090282981d69a9647a3c91d1f8b9.
-rw-r--r--ale_linters/scala/scalac.vim2
-rw-r--r--test/command_callback/test_scalac_command_callback.vader2
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/scala/scalac.vim b/ale_linters/scala/scalac.vim
index ba105927..3dbdd925 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-before:jvm %t',
+\ 'command': '%e -Ystop-after:parser %t',
\ 'callback': 'ale#handlers#scala#HandleScalacLintFormat',
\ 'output_stream': 'stderr',
\})
diff --git a/test/command_callback/test_scalac_command_callback.vader b/test/command_callback/test_scalac_command_callback.vader
index 5184aa0b..ea5ae109 100644
--- a/test/command_callback/test_scalac_command_callback.vader
+++ b/test/command_callback/test_scalac_command_callback.vader
@@ -6,7 +6,7 @@ After:
Given scala(An empty Scala file):
Execute(The default executable and command should be correct):
- AssertLinter 'scalac', ale#Escape('scalac') . ' -Ystop-before:jvm %t'
+ AssertLinter 'scalac', ale#Escape('scalac') . ' -Ystop-after:parser %t'
Given scala.sbt(An empty SBT file):
Execute(scalac should not be run for sbt files):