Skip to content

Commit

Permalink
fix: pc wrapper for dotty nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek committed Nov 9, 2023
1 parent fdcea25 commit 9a1575b
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions mtags/src/main/scala-3-wrapper/ScalaPresentationCompiler.scala
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ case class ScalaPresentationCompiler(
reportsLevel: ReportLevel = ReportLevel.Info,
) extends PresentationCompiler:
val underlying: DottyPresentationCompiler = new DottyPresentationCompiler(
buildTargetIdentifier,
classpath,
options,
search,
ec,
sh,
config,
folderPath,
reportsLevel,
buildTargetIdentifier = buildTargetIdentifier,
classpath = classpath,
options = options,
search = search,
ec = ec,
sh = sh,
config = config,
folderPath = folderPath,
reportsLevel = reportsLevel,
)

def this() = this("", Nil, Nil)
Expand Down Expand Up @@ -208,4 +208,9 @@ case class ScalaPresentationCompiler(
executorService: ExecutorService
): PresentationCompiler =
underlying.withExecutorService(executorService)

override def withBuildTargetName(
buildTargetName: String
): PresentationCompiler =
underlying.withBuildTargetName(buildTargetName)
end ScalaPresentationCompiler

0 comments on commit 9a1575b

Please sign in to comment.