summaryrefslogblamecommitdiff
path: root/test/files/run/reify_varargs.scala
blob: 1cbc7c9473c5a1686d71ae8f22daad7c79e28f87 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                       

                         
         



                                                                  
        
 
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval

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
}