summaryrefslogtreecommitdiff
path: root/test/files/run/reify_varargs.scala
blob: fe8f03b70229f5ca16400141a093b809f86033d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import scala.reflect.mirror._

object Test extends App {
  reify {
    val msg = java.text.MessageFormat.format(
      "On {1} there was {2} on planet {0}.",
      "Hoth", "the fifth of August", "a disturbance in the Force")
    println("Message="+msg)
  }.eval
}