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