scala/scala — pull request #539 by retronym (2012-05-12 11:11:15+00:00)
Title: Another bug bites virtpatmat's dust.

Test case closes SI-5029.

In 2.9, one saw:

```scala
test/files/pos/t5029.scala:2: error: unreachable code
(Vector(): Seq[_]) match { case List() => true; case Nil => false }
^

[[syntax trees at end of explicitouter]]// Scala source: t5029.scala
package {
final object Test extends java.lang.Object with ScalaObject {
def this(): object Test = {
Test.super.this();
()
};
{
val temp1: Seq[_$1] = (scala.`package`.Vector().apply[Nothing](immutable.this.Nil): Seq[Any]);
if (temp1.isInstanceOf[List[A]]().&&(temp1.asInstanceOf[List[A]]().isInstanceOf[object Nil]()))
{
true
}
else
throw new MatchError(temp1)
}
}
}
```