aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools/dotc/repl/TestREPL.scala
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/test/dotty/tools/dotc/repl/TestREPL.scala')
-rw-r--r--compiler/test/dotty/tools/dotc/repl/TestREPL.scala8
1 files changed, 3 insertions, 5 deletions
diff --git a/compiler/test/dotty/tools/dotc/repl/TestREPL.scala b/compiler/test/dotty/tools/dotc/repl/TestREPL.scala
index 2263e85a0..a38abcbab 100644
--- a/compiler/test/dotty/tools/dotc/repl/TestREPL.scala
+++ b/compiler/test/dotty/tools/dotc/repl/TestREPL.scala
@@ -1,4 +1,5 @@
-package dotty.tools.dotc
+package dotty
+package tools.dotc
package repl
import core.Contexts.Context
@@ -23,10 +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,
- "../library/target/scala-2.11/dotty-library_2.11-0.1-SNAPSHOT.jar"
- )
+ fresh.setSetting(ctx.settings.classpath, Jars.dottyReplDeps.mkString(":"))
fresh.initialize()(fresh)
fresh
}