Skip to content

Commit 91134f7

Browse files
committed
Corrected arrow in tests
1 parent 6df0adf commit 91134f7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/neg/bad-selftype.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ trait x0[T] { self: x0 => } // error
22

33
trait x1[T] { self: (=> String) => } // error
44

5-
trait x2[T] { self: ([X] => X) => } // error
5+
trait x2[T] { self: ([X] =>> X) => } // error
66

tests/neg/i4373.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ object Test {
1717
type T1 = _ // error
1818
type T2 = _[Int] // error
1919
type T3 = _ { type S } // error
20-
type T4 = [X] => _ // error
20+
type T4 = [X] =>> _ // error
2121

2222
// Open questions:
2323
type T5 = TypeConstr[_ { type S }] // error

tests/neg/i6385a.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ object Test {
77
def f[F[_]](x: Box[F]) = ???
88
def db: Box[D] = ???
99
def cb: Box[C] = db // error
10-
f[[X] => C[X]](db) // error
11-
}
10+
f[[X] =>> C[X]](db) // error
11+
}

0 commit comments

Comments
 (0)