From 972725421cd162b5b9de7c1d1999c49659fa096b Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Tue, 7 Aug 2007 13:32:13 +0000 Subject: 2x symbol -> typeSymbol --- src/compiler/scala/tools/nsc/matching/ParallelMatching.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 { -- cgit v1.2.3