summaryrefslogtreecommitdiff
path: root/test/files/run/repl-exceptions.scala
blob: aaf37c8ae7afb4c8152355ba543f8386686e7bc5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import scala.tools.partest.ReplTest
import scala.tools.util.Javap

object Test extends ReplTest {
  override def extraSettings = "-Yrich-exceptions"
  def code = """
    |sys.SystemProperties.traceSourcePath setValue ""
    |def f = sys.error("hi mom")
    |f
    |lastException.show
  """.stripMargin
}