diff options
author | Burak Emir <emir@epfl.ch> | 2007-01-19 15:40:00 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2007-01-19 15:40:00 +0000 |
commit | 903fc119794d5a788b1aae0e2f135abd74463908 (patch) | |
tree | ae3c1f98ad9862ef3644167f52c181ad3f29a1ae /src | |
parent | d932455a653c65de5ddbe15462c24c0601f489c6 (diff) | |
download | scala-903fc119794d5a788b1aae0e2f135abd74463908.tar.gz scala-903fc119794d5a788b1aae0e2f135abd74463908.tar.bz2 scala-903fc119794d5a788b1aae0e2f135abd74463908.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala | 3 |
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) |