summaryrefslogtreecommitdiff
path: root/scalalib
diff options
context:
space:
mode:
Diffstat (limited to 'scalalib')
-rw-r--r--scalalib/src/mill/scalalib/ScalaWorkerApi.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/scalalib/src/mill/scalalib/ScalaWorkerApi.scala b/scalalib/src/mill/scalalib/ScalaWorkerApi.scala
index 52dea3e8..547cc5db 100644
--- a/scalalib/src/mill/scalalib/ScalaWorkerApi.scala
+++ b/scalalib/src/mill/scalalib/ScalaWorkerApi.scala
@@ -41,7 +41,7 @@ trait ScalaWorkerModule extends mill.Module{
classpath().map(_.path.toNIO.toUri.toURL).toVector,
getClass.getClassLoader
)
- val cls = cl.loadClass("mill.scalalib.worker.ScalaWorker")
+ val cls = cl.loadClass("mill.scalalib.worker.ScalaWorkerImpl")
val instance = cls.getConstructor(classOf[mill.util.Ctx], classOf[Array[String]])
.newInstance(T.ctx(), compilerInterfaceClasspath().map(_.path.toString).toArray[String])
instance.asInstanceOf[ScalaWorkerApi]