aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/jon.scala
blob: d4ea74f02372bc379dfc90cf740a0ccb1b810c11 (plain) (tree)
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
}