Skip to content

Commit 0ee1c50

Browse files
committed
Merged revisions 25817 via svnmerge from
https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r25817 | dragos | 2011-10-11 11:58:13 +0200 (Tue, 11 Oct 2011) | 1 line Presentation compiler: let ShutdownReq propagate from the background compiler, and don't mark a unit as crashed in that case. ........
1 parent 7e2d782 commit 0ee1c50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compiler/scala/tools/nsc/interactive/Global.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,8 @@ class Global(settings: Settings, reporter: Reporter, projectName: String = "")
469469
r set unit.body
470470
serviceParsedEntered()
471471
} catch {
472-
case ex: FreshRunReq => throw ex // propagate a new run request
472+
case ex: FreshRunReq => throw ex // propagate a new run request
473+
case ShutdownReq => throw ShutdownReq // propagate a shutdown request
473474

474475
case ex =>
475476
println("[%s]: exception during background compile: ".format(unit.source) + ex)

0 commit comments

Comments
 (0)