blob: 36777fe98ca2adfeb9730f8c7993434fed0441cf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval
object Test extends dotty.runtime.LegacyApp {
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
}
|