summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2007-01-19 15:40:00 +0000
committerBurak Emir <emir@epfl.ch>2007-01-19 15:40:00 +0000
commit903fc119794d5a788b1aae0e2f135abd74463908 (patch)
treeae3c1f98ad9862ef3644167f52c181ad3f29a1ae
parentd932455a653c65de5ddbe15462c24c0601f489c6 (diff)
downloadscala-903fc119794d5a788b1aae0e2f135abd74463908.tar.gz
scala-903fc119794d5a788b1aae0e2f135abd74463908.tar.bz2
scala-903fc119794d5a788b1aae0e2f135abd74463908.zip
-rw-r--r--src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala b/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala
index e225c70a4f..010ef4f5ee 100644
--- a/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala
+++ b/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala
@@ -473,6 +473,7 @@ abstract class ExplicitOuter extends InfoTransform with TransMatcher with Patter
q
} else null
+ /*
cases match {
//if ((cases.length > 1) && ...(cases(0)))
//can't use treeInfo.isDefaultCase, because that diagnoses a Bind
@@ -480,8 +481,10 @@ abstract class ExplicitOuter extends InfoTransform with TransMatcher with Patter
// a hack to detect when explicit outer does not work correctly
// still needed?
assert(false,"transforming too much, " + tid)
+ // no!
case _ =>
}
+ */
val nselector = transform(selector)
assert(nselector.tpe =:= selector.tpe)