summaryrefslogtreecommitdiff
path: root/test/files/run/repl-exceptions.check
blob: f7ce018422df09d31debae9b3589be9cf6848dd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Type in expressions to have them evaluated.
Type :help for more information.

scala> 

scala> sys.SystemProperties.traceSourcePath setValue ""
res0: String = null

scala> def f = sys.error("hi mom")
f: Nothing

scala> f
[package.error] (package.scala:27)
(access lastException for the full trace)

scala> lastException.show
/* The repl internal portion of the stack trace is elided. */
[package.error] (package.scala:27)
[.f] (<console>:7)
[.<init>] (<console>:9)
[.<clinit>] (<console>:-1)

scala> 

scala>