sbt / zinc

Scala incremental compiler library, used by sbt and other build tools
Apache License 2.0
334 stars 121 forks source link

Add pending scripted test for #616 #1305

Closed Friendseeker closed 10 months ago

Friendseeker commented 11 months ago

The PR adds pending scripted test for #616

Test log for added test

[error] ${BASE}/Foo.scala:9:13: could not find implicit value for parameter baz: sbt.zinc.example.Baz
[error]     val f = new Foo
[error]             ^
[error] one error found
[debug] Compilation failed (CompilerInterface)
[error] sbt.internal.inc.BatchScriptRunner$PreciseScriptedError: {line 6} Command failed: 'compile'
[error] Caused by: Compilation failed
[error]     at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:339)
[error]     at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:425)