Skip to content

Commit b5f183e

Browse files
committed
Fix scala3doc use of Quotes
1 parent f6484d5 commit b5f183e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scala3doc/src/dotty/dokka/tasty/TastyParser.scala

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ trait DokkaBaseTastyInspector:
101101

102102
private val topLevels = Seq.newBuilder[Documentable]
103103

104-
def processCompilationUnit(using Quotes)(root: qctx.reflect.Tree): Unit =
105-
val parser = new TastyParser(qctx, this, config)
104+
def processCompilationUnit(using q: Quotes)(root: q.reflect.Tree): Unit =
105+
val parser = new TastyParser(q, this, config)
106106

107107
def driFor(link: String): Option[DRI] =
108-
val symOps = new SymOps[qctx.type](qctx)
108+
val symOps = new SymOps[q.type](q)
109109
import symOps._
110110
Try(QueryParser(link).readQuery()).toOption.flatMap(q =>
111111
MemberLookup.lookupOpt(q, None).map{ case (sym, _) => sym.dri}

0 commit comments

Comments
 (0)