From 5efc2df71a517b0cb7d0abc828a580936befe5aa Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Mon, 6 Feb 2012 16:09:52 +0100 Subject: remove unused `tree` argument from typedCases --- .../plugin/scala/tools/selectivecps/SelectiveCPSTransform.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/continuations') 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)))) -- cgit v1.2.3