aboutsummaryrefslogblamecommitdiff
path: root/tests/pending/run/t7235.scala
blob: 2e6af545d0f4b5558ab7111ec58bd763057e64f6 (plain) (tree)
1
2
3
4
5
6
7
8






                                                  
                                             





                                                                                             
import scala.reflect.runtime.universe._
import scala.reflect.runtime.{universe => ru}
import scala.reflect.runtime.{currentMirror => cm}
import scala.tools.reflect.ToolBox

class C

object Test extends dotty.runtime.LegacyApp {
  val Block(List(ValDef(_, _, tpt: CompoundTypeTree, _)), _) = reify{ val x: C{} = ??? }.tree
  println(tpt)
  println(tpt.templ.parents)
  println(tpt.templ.self)
  println(tpt.templ.body)
}