Skip to content

Commit a01851d

Browse files
committed
Fix repltest
1 parent 88567f1 commit a01851d

File tree

1 file changed

+3
-3
lines changed
  • compiler/test-resources/repl

1 file changed

+3
-3
lines changed

compiler/test-resources/repl/i6474

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
scala> object Foo1 { type T[+A] = (A, Int) }
22
// defined object Foo1
3-
scala> object Foo2 { type T[+A] = [+B] => (A, B) }
3+
scala> object Foo2 { type T[+A] = [+B] =>> (A, B) }
44
// defined object Foo2
5-
scala> object Foo3 { type T[+A] = [+B] => [C] => (A, B) }
5+
scala> object Foo3 { type T[+A] = [+B] =>> [C] =>> (A, B) }
66
// defined object Foo3
77
scala> ((1, 2): Foo1.T[Int]): Foo1.T[Any]
88
val res0: (Any, Int) = (1,2)
@@ -14,7 +14,7 @@ scala> (1, 2): Foo3.T[Int][Int]
1414
| Missing type parameter for Foo3.T[Int][Int]
1515
scala> ((1, 2): Foo3.T[Int][Int][Int]): Foo3.T[Any][Int][Int]
1616
val res2: (Any, Int) = (1,2)
17-
scala> object Foo3 { type T[A] = [B] => [C] => (A, B) }
17+
scala> object Foo3 { type T[A] = [B] =>> [C] =>> (A, B) }
1818
// defined object Foo3
1919
scala> ((1, 2): Foo3.T[Int][Int][Int])
2020
val res3: (Int, Int) = (1,2)

0 commit comments

Comments
 (0)