We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5a0cbb9 + 99a59ba commit 0d22c74Copy full SHA for 0d22c74
sbt-dotty/sbt-test/sbt-dotty/tasty-inspector-example-project/app/Main.scala
@@ -1,13 +1,13 @@
1
package hello
2
3
-import scala.tasty.Reflection
+import scala.quoted._
4
import scala.tasty.inspector.TastyInspector
5
6
object Main extends App {
7
8
val inspector = new TastyInspector {
9
- protected def processCompilationUnit(reflect: Reflection)(root: reflect.Tree): Unit = {
10
- import reflect.{given _, _}
+ protected def processCompilationUnit(using QuoteContext)(root: qctx.tasty.Tree): Unit = {
+ import qctx.tasty._
11
val tastyStr = root.show
12
println(tastyStr)
13
}
0 commit comments