diff options
-rw-r--r-- | compiler/test/dotty/Jars.scala | 4 | ||||
-rw-r--r-- | compiler/test/dotty/tools/dotc/repl/TestREPL.scala | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/compiler/test/dotty/Jars.scala b/compiler/test/dotty/Jars.scala index 989726bd4..42c707069 100644 --- a/compiler/test/dotty/Jars.scala +++ b/compiler/test/dotty/Jars.scala @@ -15,7 +15,9 @@ object Jars { } val dottyExtras: List[String] = sys.env.get("DOTTY_EXTRAS") - .map(_.split(",").toList).getOrElse(Nil) + .map(_.split(":").toList).getOrElse(Nil) + + val dottyReplDeps: List[String] = dottyLib :: dottyExtras val dottyTestDeps: List[String] = dottyLib :: dottyCompiler :: dottyInterfaces :: dottyExtras diff --git a/compiler/test/dotty/tools/dotc/repl/TestREPL.scala b/compiler/test/dotty/tools/dotc/repl/TestREPL.scala index 70f701791..a38abcbab 100644 --- a/compiler/test/dotty/tools/dotc/repl/TestREPL.scala +++ b/compiler/test/dotty/tools/dotc/repl/TestREPL.scala @@ -24,7 +24,7 @@ class TestREPL(script: String) extends REPL { override def context(ctx: Context) = { val fresh = ctx.fresh fresh.setSetting(ctx.settings.color, "never") - fresh.setSetting(ctx.settings.classpath, Jars.dottyLib) + fresh.setSetting(ctx.settings.classpath, Jars.dottyReplDeps.mkString(":")) fresh.initialize()(fresh) fresh } |