diff options
author | paltherr <paltherr@epfl.ch> | 2003-09-11 16:15:22 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-09-11 16:15:22 +0000 |
commit | 3029d91bf2cb7787b390dd77c7973fd6ff339ad1 (patch) | |
tree | 2bbb1a2361c67467f1f7f33a7d5a3e9d0df14a70 /sources/scalac/transformer/matching/TestRegTraverser.java | |
parent | 606b414ee17f805d5a1875bcbe866b307f68ca86 (diff) | |
download | scala-3029d91bf2cb7787b390dd77c7973fd6ff339ad1.tar.gz scala-3029d91bf2cb7787b390dd77c7973fd6ff339ad1.tar.bz2 scala-3029d91bf2cb7787b390dd77c7973fd6ff339ad1.zip |
- There is a problem with version 1.5, replaced...
- There is a problem with version 1.5, replaced it by version 1.4.
Diffstat (limited to 'sources/scalac/transformer/matching/TestRegTraverser.java')
-rw-r--r-- | sources/scalac/transformer/matching/TestRegTraverser.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sources/scalac/transformer/matching/TestRegTraverser.java b/sources/scalac/transformer/matching/TestRegTraverser.java index edee4672b6..feffbba4f7 100644 --- a/sources/scalac/transformer/matching/TestRegTraverser.java +++ b/sources/scalac/transformer/matching/TestRegTraverser.java @@ -21,7 +21,7 @@ public class TestRegTraverser extends Traverser { public void traverse(Tree tree) { if (!result) switch (tree) { - case Alternative(_): + case Alternative(Tree[] ts): result = true; break; case Bind(_, Tree pat): @@ -32,9 +32,6 @@ public class TestRegTraverser extends Traverser { if (variables.contains(tree.symbol())) result = true; break; - case CaseDef(Tree pat, _, _): - traverse(pat); - break; default: super.traverse( tree ); } |