Skip to content

Commit c69759f

Browse files
committed
.
1 parent 1f90f81 commit c69759f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

project/Build.scala

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -754,8 +754,6 @@ object Build {
754754
libraryDependencies ++= Seq(
755755
"org.scala-lang.modules" % "scala-asm" % "9.8.0-scala-1", // used by the backend
756756
Dependencies.compilerInterface,
757-
("io.get-coursier" %% "coursier" % "2.0.16" % Test).cross(CrossVersion.for3Use2_13),
758-
"io.get-coursier" % "interface" % "1.0.19", // used by the REPL for dependency resolution
759757
"org.virtuslab" % "using_directives" % "1.1.4", // used by the REPL for parsing magic comments
760758
),
761759

@@ -1837,6 +1835,8 @@ object Build {
18371835
"com.lihaoyi" %% "fansi" % "0.5.1",
18381836
"com.lihaoyi" %% "sourcecode" % "0.4.4",
18391837
"com.github.sbt" % "junit-interface" % "0.13.3" % Test,
1838+
("io.get-coursier" %% "coursier" % "2.0.16" % Test).cross(CrossVersion.for3Use2_13),
1839+
"io.get-coursier" % "interface" % "1.0.19", // used by the REPL for dependency resolution
18401840
),
18411841
// Configure to use the non-bootstrapped compiler
18421842
scalaInstance := {
@@ -2456,8 +2456,6 @@ object Build {
24562456
"com.github.sbt" % "junit-interface" % "0.13.3" % Test,
24572457
"org.scala-lang.modules" % "scala-asm" % "9.8.0-scala-1",
24582458
Dependencies.compilerInterface,
2459-
("io.get-coursier" %% "coursier" % "2.0.16" % Test).cross(CrossVersion.for3Use2_13),
2460-
"io.get-coursier" % "interface" % "1.0.19", // used by the REPL for dependency resolution
24612459
"org.virtuslab" % "using_directives" % "1.1.4", // used by the REPL for parsing magic comments
24622460
),
24632461
// NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
@@ -2608,8 +2606,6 @@ object Build {
26082606
"org.scala-lang.modules" % "scala-asm" % "9.8.0-scala-1",
26092607
Dependencies.compilerInterface,
26102608
"com.github.sbt" % "junit-interface" % "0.13.3" % Test,
2611-
("io.get-coursier" %% "coursier" % "2.0.16" % Test).cross(CrossVersion.for3Use2_13),
2612-
"io.get-coursier" % "interface" % "1.0.19", // used by the REPL for dependency resolution
26132609
"org.virtuslab" % "using_directives" % "1.1.4", // used by the REPL for parsing magic comments
26142610
),
26152611
// NOTE: The only difference here is that we drop `-Werror` and semanticDB for now

repl/src/dotty/tools/repl/DependencyResolver.scala

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ object DependencyResolver:
106106
SymbolLoaders.mergeNewEntries(defn.RootClass, ClassPath.RootPackage, jarClassPath, ctx.platform.classPath)
107107

108108
// Create new classloader with previous output dir and resolved dependencies
109-
new AbstractFileClassLoader(prevOutputDir, depsClassLoader)
109+
new dotty.tools.repl.AbstractFileClassLoader(
110+
prevOutputDir,
111+
depsClassLoader,
112+
ctx.settings.XreplInterruptInstrumentation.value
113+
)
110114

111115
end DependencyResolver

0 commit comments

Comments
 (0)