mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-15 00:37:07 +08:00
Revert "Merge pull request #2083 from zackhsi/scalac-until-jvm"
This reverts commit1c89495d77, reversing changes made to4b4b09593b.
This commit is contained in:
@@ -9,7 +9,7 @@ endfunction
|
|||||||
call ale#linter#Define('scala', {
|
call ale#linter#Define('scala', {
|
||||||
\ 'name': 'scalac',
|
\ 'name': 'scalac',
|
||||||
\ 'executable_callback': {buf -> s:IsSbt(buf) ? '' : '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',
|
\ 'callback': 'ale#handlers#scala#HandleScalacLintFormat',
|
||||||
\ 'output_stream': 'stderr',
|
\ 'output_stream': 'stderr',
|
||||||
\})
|
\})
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ After:
|
|||||||
|
|
||||||
Given scala(An empty Scala file):
|
Given scala(An empty Scala file):
|
||||||
Execute(The default executable and command should be correct):
|
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):
|
Given scala.sbt(An empty SBT file):
|
||||||
Execute(scalac should not be run for sbt files):
|
Execute(scalac should not be run for sbt files):
|
||||||
|
|||||||
Reference in New Issue
Block a user