aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t7331a.scala
blob: 057713af8da4fc7cf7f039521d57201178a3dad4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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 tree = tb.parse("x")
  println(tree.pos)
  println(tree.pos.source.content.length)
}