scala/scala — pull request #722 by patrickxia (2012-06-14 22:10:26+00:00)
Title: fix compiler crash on BoundedWildcardType variance check

This was missing, causing compiler crashes in various examples whenever
a BoundedWildcardType got here.

An example of code that would crash the compiler before now is this:

```
abstract class Foo[T] extends Seq[T] {
def f[T2](a : T => T2) : T2
}

abstract class Bar[T] (collections : Iterable[Foo[_ <: T]] ) {
val lol = {
collections.zipWithIndex.foreach {
case (foo: Foo[_], i: Int) => {
foo.f((t:T) => Unit)
}
}
}
}
```