Skip to content

Commit 6c92389

Browse files
Explicitly type implicit in a doc-tool patdef
1 parent 491947a commit 6c92389

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc-tool/src/dotty/tools/dottydoc/DocDriver.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ class DocDriver extends Driver {
4141
}
4242

4343
override def main(args: Array[String]): Unit = {
44-
implicit val (filesToDocument, ctx) = setup(args, initCtx.fresh)
44+
val (filesToDocument, ctx0) = setup(args, initCtx.fresh)
45+
implicit val ctx: Context = ctx0
4546
val reporter = doCompile(newCompiler(ctx), filesToDocument)(ctx)
4647
val siteRoot = new java.io.File(ctx.settings.siteRoot.value)
4748
val projectName = ctx.settings.projectName.value

0 commit comments

Comments
 (0)