diff options
Diffstat (limited to 'tests/pending/pos')
-rw-r--r-- | tests/pending/pos/apply-equiv.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/pending/pos/apply-equiv.scala b/tests/pending/pos/apply-equiv.scala new file mode 100644 index 000000000..f53b8b5ab --- /dev/null +++ b/tests/pending/pos/apply-equiv.scala @@ -0,0 +1,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 + +} |