diff options
author | Burak Emir <emir@epfl.ch> | 2005-07-31 18:59:40 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2005-07-31 18:59:40 +0000 |
commit | 03f703627ae1e4fd9ad50a8677defaaf7fbdee60 (patch) | |
tree | 5a76b4e2ee9af935c7e853cd096d0c27d051c91c | |
parent | ee16845bd423f3da67eb941d7bac53251181b1b5 (diff) | |
download | scala-03f703627ae1e4fd9ad50a8677defaaf7fbdee60.tar.gz scala-03f703627ae1e4fd9ad50a8677defaaf7fbdee60.tar.bz2 scala-03f703627ae1e4fd9ad50a8677defaaf7fbdee60.zip |
isSequenceValued now takes care of ArrayValues ...
isSequenceValued now takes care of ArrayValues as well
-rw-r--r-- | sources/scala/tools/nsc/ast/TreeInfo.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/scala/tools/nsc/ast/TreeInfo.scala b/sources/scala/tools/nsc/ast/TreeInfo.scala index f58908e246..672a01377a 100644 --- a/sources/scala/tools/nsc/ast/TreeInfo.scala +++ b/sources/scala/tools/nsc/ast/TreeInfo.scala @@ -138,6 +138,7 @@ abstract class TreeInfo { def isSequenceValued(tree: Tree): boolean = tree match { case Bind(_, body) => isSequenceValued(body) case Sequence(_) => true + case ArrayValue(_, _) => true case Star(_) => true case Alternative(ts) => ts exists isSequenceValued case _ => false |