diff options
author | Burak Emir <emir@epfl.ch> | 2007-08-07 13:32:13 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2007-08-07 13:32:13 +0000 |
commit | 972725421cd162b5b9de7c1d1999c49659fa096b (patch) | |
tree | 19376e1c4333d58463e40d67f94bf6f77679a2d9 | |
parent | dc373d09bb53c606bf067e03f655cc404a313d41 (diff) | |
download | scala-972725421cd162b5b9de7c1d1999c49659fa096b.tar.gz scala-972725421cd162b5b9de7c1d1999c49659fa096b.tar.bz2 scala-972725421cd162b5b9de7c1d1999c49659fa096b.zip |
2x symbol -> typeSymbol
-rw-r--r-- | src/compiler/scala/tools/nsc/matching/ParallelMatching.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala b/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala index bf7f777bfa..454ae2f3a7 100644 --- a/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala +++ b/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala @@ -413,8 +413,8 @@ trait ParallelMatching { val isExhaustive = !scrutinee.tpe.typeSymbol.hasFlag(symtab.Flags.SEALED) || { //DEBUG("check exha for column "+column) - val tpes = column.map {x => /*Console.println("--x:"+x+":"+x.tpe); */ x.tpe./*?type?*/symbol} - scrutinee.tpe./*?type?*/symbol.children.forall { sym => tpes.contains(sym) } + val tpes = column.map {x => /*Console.println("--x:"+x+":"+x.tpe); */ x.tpe.typeSymbol} + scrutinee.tpe.typeSymbol.children.forall { sym => tpes.contains(sym) } } private val patternType = column.head match { |