summaryrefslogtreecommitdiff
path: root/src/continuations
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2012-02-06 16:09:52 +0100
committerAdriaan Moors <adriaan.moors@epfl.ch>2012-02-17 14:19:01 +0100
commit5efc2df71a517b0cb7d0abc828a580936befe5aa (patch)
tree449d3f84d2043e44c2b6cdeef4e10f84fd4a125a /src/continuations
parent91148376049a152edec12348ff9b7e9e93e6ebe1 (diff)
downloadscala-5efc2df71a517b0cb7d0abc828a580936befe5aa.tar.gz
scala-5efc2df71a517b0cb7d0abc828a580936befe5aa.tar.bz2
scala-5efc2df71a517b0cb7d0abc828a580936befe5aa.zip
remove unused `tree` argument from typedCases
Diffstat (limited to 'src/continuations')
-rw-r--r--src/continuations/plugin/scala/tools/selectivecps/SelectiveCPSTransform.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/continuations/plugin/scala/tools/selectivecps/SelectiveCPSTransform.scala b/src/continuations/plugin/scala/tools/selectivecps/SelectiveCPSTransform.scala
index b2a1546b4e..a90dc36639 100644
--- a/src/continuations/plugin/scala/tools/selectivecps/SelectiveCPSTransform.scala
+++ b/src/continuations/plugin/scala/tools/selectivecps/SelectiveCPSTransform.scala
@@ -203,7 +203,7 @@ abstract class SelectiveCPSTransform extends PluginComponent with
rhs.changeOwner(currentOwner -> fun.symbol)
val exSym = currentOwner.newValueParameter(cpsNames.ex, pos).setInfo(ThrowableClass.tpe)
- val catch2 = { localTyper.typedCases(tree, List(
+ val catch2 = { localTyper.typedCases(List(
CaseDef(Bind(exSym, Typed(Ident("_"), TypeTree(ThrowableClass.tpe))),
Apply(Select(Ident(funSym), nme.isDefinedAt), List(Ident(exSym))),
Apply(Ident(funSym), List(Ident(exSym))))