blob: e0ee02a5cbe97851e3d18eba568336ee706842a2 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
import scala.reflect.runtime.universe._
class Foo extends annotation.StaticAnnotation
object Test extends dotty.runtime.LegacyApp {
val tree = reify{(5: @Foo).asInstanceOf[Int]}.tree
println(tree.toString)
}
|