fixed #710 (revert some of r14520, but fix for #346 still holds)

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@14624 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
emir 2008-04-10 22:53:37 +00:00
parent a0f01ecb0d
commit 830b0b15e2
1 changed files with 2 additions and 2 deletions

View File

@ -1362,8 +1362,8 @@ trait ParallelMatching {
Equals(gen.mkAttributedRef(tpe.termSymbol), scrutineeTree) // object
} else {
val x =
//if (tpe.prefix ne NoPrefix) gen.mkIsInstanceOf(scrutineeTree, tpe)
//else
if (tpe.prefix ne NoPrefix) gen.mkIsInstanceOf(scrutineeTree, tpe)
else
Equals(gen.mkAttributedRef(tpe.termSymbol), scrutineeTree)
typed { x }
}