Skip to content

Commit 0d22c74

Browse files
Merge pull request #9689 from dotty-staging/fix-sbt-test-for-tasty-inspector
Fix SBT test for TastyInspector
2 parents 5a0cbb9 + 99a59ba commit 0d22c74

File tree

1 file changed

+3
-3
lines changed
  • sbt-dotty/sbt-test/sbt-dotty/tasty-inspector-example-project/app

1 file changed

+3
-3
lines changed

sbt-dotty/sbt-test/sbt-dotty/tasty-inspector-example-project/app/Main.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package hello
22

3-
import scala.tasty.Reflection
3+
import scala.quoted._
44
import scala.tasty.inspector.TastyInspector
55

66
object Main extends App {
77

88
val inspector = new TastyInspector {
9-
protected def processCompilationUnit(reflect: Reflection)(root: reflect.Tree): Unit = {
10-
import reflect.{given _, _}
9+
protected def processCompilationUnit(using QuoteContext)(root: qctx.tasty.Tree): Unit = {
10+
import qctx.tasty._
1111
val tastyStr = root.show
1212
println(tastyStr)
1313
}

0 commit comments

Comments
 (0)