SBT only reports compile error in a file that scalac produces an error and warning · Issue #1928 · sbt/sbt

class Test { def foo(id: Int = 1, p: Int): Unit def test(): Unit = { val x = foo(p = 2) val id = x + 1 } } sbt "show scalaVersion" compile [info] Loading global plugins from /Users/jason/.sbt/0.13/...