aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t6178.scala
blob: 04833f6171dc5a9f34d387dbf663f30785e0a700 (plain) (blame)
1
2
3
4
5
6
7
import scala.reflect.runtime.universe._
import scala.reflect.runtime.{currentMirror => cm}

object Test extends dotty.runtime.LegacyApp {
  val plus = typeOf[java.lang.String].member(TermName("$plus")).asMethod
  println(cm.reflect("").reflectMethod(plus).apply("2"))
}