Skip to content

Commit 8fd3cbe

Browse files
committed
Do not fetch dotty-staging without -with-compiler
1 parent cc06705 commit 8fd3cbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,6 @@ object Build {
639639
val scalaLib = findArtifactPath(externalDeps, "scala-library")
640640
val dottyLib = jars("dotty-library")
641641
val dottyCompiler = jars("dotty-compiler")
642-
val dottyStaging = jars("dotty-staging")
643642
val args0: List[String] = spaceDelimited("<arg>").parsed.toList
644643
val decompile = args0.contains("-decompile")
645644
val printTasty = args0.contains("-print-tasty")
@@ -663,6 +662,7 @@ object Build {
663662
log.error("-with-compiler should only be used with a bootstrapped compiler")
664663
}
665664
val dottyInterfaces = jars("dotty-interfaces")
665+
val dottyStaging = jars("dotty-staging")
666666
val asm = findArtifactPath(externalDeps, "scala-asm")
667667
extraClasspath ++= Seq(dottyCompiler, dottyInterfaces, asm, dottyStaging)
668668
}

0 commit comments

Comments
 (0)