Skip to content

Commit c8b2c1e

Browse files
committed
Workaround issue in scaladoc
1 parent 651c0f6 commit c8b2c1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scaladoc/src/dotty/tools/scaladoc/tasty/TastyParser.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ case class ScaladocTastyInspector()(using ctx: DocContext) extends DocTastyInspe
3131

3232
def processCompilationUnit(using Quotes)(root: reflect.Tree): Unit = ()
3333

34-
override def postProcess(using Quotes): Unit =
34+
override def postProcess(using q: Quotes): Unit =
3535
// hack into the compiler to get a list of all top-level trees
3636
// in principle, to do this, one would collect trees in processCompilationUnit
3737
// however, path-dependent types disallow doing so w/o using casts

scaladoc/src/dotty/tools/scaladoc/tasty/reflect.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ package tasty
44
import scala.quoted._
55

66
/** Shorthand for `quotes.reflect` */
7-
transparent inline def reflect(using inline q: Quotes) = q.reflect
7+
transparent inline def reflect(using q: Quotes): q.reflect.type = q.reflect

0 commit comments

Comments
 (0)