aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/apply-equiv.scala
blob: f53b8b5abd2ddf7bba419455ac6cce2c2d9d17ef (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                          
class Test {

  class Lambda { type Arg; type Apply }

  type T1 = (Lambda { type Arg = Int } { type Apply = List[Arg] }) # Apply
  type T2 = List[Int]

  var x: T1 = _
  var y: T2 = _

  x = y
  y = x

}