summaryrefslogtreecommitdiff
path: root/test/files/neg/t7251/A_1.scala
blob: d05373ed2872ffbd013bf5b5a24112ccc6dfc4e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
package s

object Outer {
  type Triple[+A, +B, +C] = Tuple3[A, B, C]
  object Triple {
    def apply[A, B, C](x: A, y: B, z: C) = Tuple3(x, y, z)
    def unapply[A, B, C](x: Tuple3[A, B, C]): Option[Tuple3[A, B, C]] = Some(x)
  }
}