blob: d6293993c14146a17a1b3ea2f1ff9170f1b74931 (
plain) (
blame)
1
2
3
4
|
hk-bad-bounds.scala:4: error: type arguments [Set] do not conform to class SeqFactory's type parameter bounds [CC[X] <: Seq[X] with scala.collection.generic.GenericTraversableTemplate[X,CC]]
def f(x: Boolean) = if (x) (null: SeqFactory[List]) else (null: SeqFactory[Set])
^
one error found
|