Skip to content

Commit 7a2b9eb

Browse files
nicolasstuckicheeseng
authored andcommitted
Fix QuoteContext path dependent type for implicit alias
1 parent 641e892 commit 7a2b9eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scalatest.dotty/src/main/scala/org/scalatest/diagrams/DiagramsMacro.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import org.scalatest.compatible.Assertion
2323
object DiagramsMacro {
2424
// Transform the input expression by parsing out the anchor and generate expression that can support diagram rendering
2525
def parse(qctx: QuoteContext)(expr: qctx.tasty.Term): qctx.tasty.Term = {
26-
implicit val qctx2: QuoteContext = qctx
26+
implicit val qctx2: qctx.type = qctx // TODO qctx should be given
2727
import qctx.tasty.{_, given _}
2828
import util._
2929

0 commit comments

Comments
 (0)