Skip to content

Commit

Permalink
Explicitly type implicit in a doc-tool patdef
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierBlanvillain committed May 1, 2017
1 parent 491947a commit 6c92389
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc-tool/src/dotty/tools/dottydoc/DocDriver.scala
Expand Up @@ -41,7 +41,8 @@ class DocDriver extends Driver {
}

override def main(args: Array[String]): Unit = {
implicit val (filesToDocument, ctx) = setup(args, initCtx.fresh)
val (filesToDocument, ctx0) = setup(args, initCtx.fresh)
implicit val ctx: Context = ctx0
val reporter = doCompile(newCompiler(ctx), filesToDocument)(ctx)
val siteRoot = new java.io.File(ctx.settings.siteRoot.value)
val projectName = ctx.settings.projectName.value
Expand Down

0 comments on commit 6c92389

Please sign in to comment.