blob: 057713af8da4fc7cf7f039521d57201178a3dad4 (
plain) (
tree)
|
|
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)
}
|