summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2009-05-26 10:58:55 +0000
committerMartin Odersky <odersky@gmail.com>2009-05-26 10:58:55 +0000
commit0b8ece795b13f651c42b5c01936bebb4312efe5f (patch)
treeb5d06e56ecfe8a841516807a2c67a0328c43b05c /src
parent0a4089a8bafaa3b3822989a6790ce50bece44239 (diff)
downloadscala-0b8ece795b13f651c42b5c01936bebb4312efe5f.tar.gz
scala-0b8ece795b13f651c42b5c01936bebb4312efe5f.tar.bz2
scala-0b8ece795b13f651c42b5c01936bebb4312efe5f.zip
moved internal exception out of a syncvar catch
Diffstat (limited to 'src')
-rwxr-xr-xsrc/compiler/scala/tools/nsc/interactive/Global.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/Global.scala b/src/compiler/scala/tools/nsc/interactive/Global.scala
index 3e47f164c7..ad141175ff 100755
--- a/src/compiler/scala/tools/nsc/interactive/Global.scala
+++ b/src/compiler/scala/tools/nsc/interactive/Global.scala
@@ -196,12 +196,12 @@ self =>
}
moveToFront(sources)
result set Left(())
- if (compiling) throw new FreshRunReq
} catch {
case ex =>
result set Right(ex)
throw ex
}
+ if (compiling) throw new FreshRunReq
}
/** Set sync var `result` to a fully attributed tree located at position `pos` */