aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/freezeBounds.scala
blob: 6cc644d99a63803256ba85572a195bc6d8e5701e (plain) (blame)
1
2
3
4
5
6
object Test {

  def f[X]: (Set[X], Set[X]) = ???

  val a = if (true) f else (Set[Int](), Set[String]())
}