blob: 695786e5c44616469f357c85eba7adaacede25b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import scala.reflect._
import scala.reflect.api._
class Foo extends StaticAnnotation
object Test extends App {
val tree = scala.reflect.Code.lift{5: @Foo}.tree
println(tree.toString)
}
|