From b2559b3cf4516f751ad050480c50e348e03952d7 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 8 Nov 2010 20:11:41 +0000 Subject: Deprecation patrol. the same issues as JavaConversions with respect to overloading implicit methods making them inaccessible to view bounds. Fixed JavaConverters. Added a warning for when people overload parameterized implicits: in almost all cases the name is irrelevant so there's little point in unwittingly suffering degraded functionality. No review. --- .../plugin/scala/tools/selectivecps/SelectiveANFTransform.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/continuations') diff --git a/src/continuations/plugin/scala/tools/selectivecps/SelectiveANFTransform.scala b/src/continuations/plugin/scala/tools/selectivecps/SelectiveANFTransform.scala index 3eb4b70ad1..d40c573ffe 100644 --- a/src/continuations/plugin/scala/tools/selectivecps/SelectiveANFTransform.scala +++ b/src/continuations/plugin/scala/tools/selectivecps/SelectiveANFTransform.scala @@ -350,7 +350,7 @@ abstract class SelectiveANFTransform extends PluginComponent with Transform with val valueTpe = removeAllCPSAnnotations(expr.tpe) - val sym = currentOwner.newValue(tree.pos, unit.fresh.newName(tree.pos, "tmp")) + val sym = currentOwner.newValue(tree.pos, unit.fresh.newName("tmp")) .setInfo(valueTpe) .setFlag(Flags.SYNTHETIC) .setAnnotations(List(AnnotationInfo(MarkerCPSSym.tpe, Nil, Nil))) -- cgit v1.2.3