summaryrefslogtreecommitdiff
path: root/test/junit
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2014-11-07 09:02:23 +0100
committerLukas Rytz <lukas.rytz@gmail.com>2014-11-07 09:03:46 +0100
commit063e7741510bfaf4ccb61f7c0d94cae9353183aa (patch)
tree0ac2a744cfa5ed15a5b3b72e370d050de4c8099a /test/junit
parentd39525ac06c8d319b43d3388d624fb2c1dcbd601 (diff)
downloadscala-063e7741510bfaf4ccb61f7c0d94cae9353183aa.tar.gz
scala-063e7741510bfaf4ccb61f7c0d94cae9353183aa.tar.bz2
scala-063e7741510bfaf4ccb61f7c0d94cae9353183aa.zip
Address review comments
Diffstat (limited to 'test/junit')
-rw-r--r--test/junit/scala/tools/nsc/backend/jvm/opt/MethodLevelOpts.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/junit/scala/tools/nsc/backend/jvm/opt/MethodLevelOpts.scala b/test/junit/scala/tools/nsc/backend/jvm/opt/MethodLevelOpts.scala
index 390e53fc4a..5b0f0f238a 100644
--- a/test/junit/scala/tools/nsc/backend/jvm/opt/MethodLevelOpts.scala
+++ b/test/junit/scala/tools/nsc/backend/jvm/opt/MethodLevelOpts.scala
@@ -36,7 +36,7 @@ class MethodLevelOpts {
}
@Test
- def inlineThrowInCachtNotTry(): Unit = {
+ def inlineThrowInCatchNotTry(): Unit = {
// the try block does not contain the `ATHROW` instruction, but in the catch block, `ATHROW` is inlined
val code = "def f(e: Exception) = throw { try e catch { case _: Throwable => e } }"
val m = singleMethod(methodOptCompiler)(code)