summaryrefslogblamecommitdiff
path: root/test/files/neg/hk-bad-bounds.scala
blob: 0ed0b4c38525c889ce9db31d3ffd628db1efef1a (plain) (tree)
1
2
3
4
5




                                                                                  
import collection.generic.SeqFactory

class A {
  def f(x: Boolean) = if (x) (null: SeqFactory[List]) else (null: SeqFactory[Set])
}