blob: 78606e2abc42979e1009275a830226e059b85434 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import scala.reflect.mirror._
object Test extends App {
val toolbox = mkToolBox()
toolbox.runExpr(reify{
object Utils {
@deprecated("test", "2.10.0")
def foo { println("hello") }
}
Utils.foo
})
}
|