aboutsummaryrefslogblamecommitdiff
path: root/tests/invalid/pos/depexists.scala
blob: dff1917a476b17e994a54d735e5877380e11ca11 (plain) (tree)
1
2
3
4
5




                                                                             
object depexists {

  val c: Option[(a, b)] forSome { type a <: Number; type b <: (a, a) } = null
  val d = c
}