-
Notifications
You must be signed in to change notification settings - Fork 949
Closed
Labels
Description
steps
Using sbt 1.10.9, I have a one line file with an error:
val test = badRef
problem
sbt 1.10.9 compiles 10 times, with the output looking like this:
sbt:sbt-1.10.9-repeat-compilation> compile
[info] compiling 1 Scala source to /Users/matt/sbt-1.10.9-repeat-compilation/target/scala-3.6.3/classes ...
[error] -- [E006] Not Found Error: /Users/matt/sbt-1.10.9-repeat-compilation/src/main/scala/example/Test.scala:1:11
[error] 1 |val test = badRef
[error] | ^^^^^^
[error] | Not found: badRef
[error] |
[error] | longer explanation available when compiling with `-explain`
[error] one error found
[info] compiling 1 Scala source to /Users/matt/sbt-1.10.9-repeat-compilation/target/scala-3.6.3/classes ...
[error] one error found
[info] compiling 1 Scala source to /Users/matt/sbt-1.10.9-repeat-compilation/target/scala-3.6.3/classes ...
[error] one error found
[info] compiling 1 Scala source to /Users/matt/sbt-1.10.9-repeat-compilation/target/scala-3.6.3/classes ...
[error] one error found
[info] compiling 1 Scala source to /Users/matt/sbt-1.10.9-repeat-compilation/target/scala-3.6.3/classes ...
[error] one error found
[info] compiling 1 Scala source to /Users/matt/sbt-1.10.9-repeat-compilation/target/scala-3.6.3/classes ...
[error] one error found
[info] compiling 1 Scala source to /Users/matt/sbt-1.10.9-repeat-compilation/target/scala-3.6.3/classes ...
[error] one error found
[info] compiling 1 Scala source to /Users/matt/sbt-1.10.9-repeat-compilation/target/scala-3.6.3/classes ...
[error] one error found
[info] compiling 1 Scala source to /Users/matt/sbt-1.10.9-repeat-compilation/target/scala-3.6.3/classes ...
[error] one error found
[info] compiling 1 Scala source to /Users/matt/sbt-1.10.9-repeat-compilation/target/scala-3.6.3/classes ...
[error] one error found
[error] (Compile / compileIncremental) Compilation failed
expectation
It should only compile once