Skip to content

Commit

Permalink
Remove useless -priorityclasspath option in the tastyBootstrap test.
Browse files Browse the repository at this point in the history
`lib` is compiled first in this test, in an output directory which
has just been cleaned out. Therefore, there is never anything in
that directory, and the option has no effect.
  • Loading branch information
sjrd committed Dec 10, 2020
1 parent 2457371 commit cfacdb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/test/dotty/tools/dotc/CompilationTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class CompilationTests {
defaultOptions.and("-Ycheck-reentrant",
"-Yerased-terms", // support declaration of scala.compiletime.erasedValue
// "-source", "3.1", // TODO: re-enable once we allow : @unchecked in pattern definitions. Right now, lots of narrowing pattern definitions fail.
"-priorityclasspath", defaultOutputDir))(libGroup)
))(libGroup)

val tastyCoreSources = sources(Paths.get("tasty/src"))
val tastyCore = compileList("tastyCore", tastyCoreSources, opt)(tastyCoreGroup)
Expand Down

0 comments on commit cfacdb6

Please sign in to comment.