package hello

import scala.tasty.Reflection
import scala.tasty.inspector.TastyInspector

object Main extends App {

  val inspector = new TastyInspector {
    protected def processCompilationUnit(reflect: Reflection)(root: reflect.Tree): Unit = {
      import reflect.{given, _}
      val tastyStr = root.show
      println(tastyStr)
    }
  }

  inspector.inspect("", List("lib.Foo"))

}

package hello

import scala.tasty.Reflection
import scala.tasty.inspector.TastyInspector

object Main extends App {

  val inspector = new TastyInspector {
    protected def processCompilationUnit(reflect: Reflection)(root: reflect.Tree): Unit = {
      import reflect._
      val tastyStr = root.show
      println(tastyStr)
    }
  }

  inspector.inspect("", List("lib.Foo"))

}

--- 
+++ 
@@ -7,7 +7,7 @@
 
   val inspector = new TastyInspector {
     protected def processCompilationUnit(reflect: Reflection)(root: reflect.Tree): Unit = {
-      import reflect._
+      import reflect.{given, _}
       val tastyStr = root.show
       println(tastyStr)
     }
Fix nightly build for TASTy Inspector
