File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/compiler/scala/tools/nsc/reporters Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ package reporters
10
10
import java .io .{BufferedReader , PrintWriter }
11
11
import scala .reflect .internal .{Reporter => InternalReporter , ForwardingReporter }
12
12
import scala .reflect .internal .util .{Position , StringOps }
13
+ import scala .tools .util .SystemExit
13
14
14
15
import Position .formatMessage
15
16
import StringOps .{countElementsAsString => countAs , trimAllTrailingSpace => trimTrailing }
@@ -61,7 +62,7 @@ trait PrintReporter extends InternalReporter {
61
62
reader.read match {
62
63
case 'a' | 'A' =>
63
64
new Throwable ().printStackTrace(writer)
64
- System .exit (1 )
65
+ throw SystemExit (1 )
65
66
case 's' | 'S' =>
66
67
new Throwable ().printStackTrace(writer)
67
68
writer.println()
You can’t perform that action at this time.
0 commit comments