aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/jon.scala
blob: 224486945a65fff96664f4b0088673b30e891ec0 (plain) (blame)
1
2
3
4
5
6
7
8
// This one blows up with a huge type in Scala 2.
// Reported by Jon Pretty in his talk on Scala type inference.
object Test {

  val x = List(List, Vector)

  val y: List[scala.collection.generic.SeqFactory[_]] = x
}