aboutsummaryrefslogblamecommitdiff
path: root/tests/pending/run/t5943a1.scala
blob: ce13259d65bf5a80edcf5c509f195b4f2521093c (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                  
                                             


                                         
 
import scala.reflect.runtime.universe._
import scala.reflect.runtime.{currentMirror => cm}
import scala.tools.reflect.ToolBox

object Test extends dotty.runtime.LegacyApp {
  val tb = cm.mkToolBox()
  val expr = tb.parse("1 to 3 map (_+1)")
  println(tb.typecheck(expr))
}