blob: b7a3c5138aff63a88c6c53ea8668835c67810504 (
plain) (
tree)
|
|
import scala.reflect.runtime.universe._
import scala.reflect.runtime.{currentMirror => cm}
import scala.tools.reflect._
object Test extends dotty.runtime.LegacyApp {
val tb = cm.mkToolBox()
tb.parse("def x = {}")
try { tb.parse("def x = {") } catch { case _: Throwable => }
tb.parse("def x = {}")
}
|