Skip to content

Commit f47ef9a

Browse files
committed
Fix error position in test
1 parent 7c8c2a1 commit f47ef9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/neg/i2202.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class A {
22
def compareTo(o: Any): Int = 0
33
}
4-
class B extends A with Comparable[B] {
5-
def compareTo(b: B): Int = 0 // error
4+
class B extends A with Comparable[B] { // error
5+
def compareTo(b: B): Int = 0
66
}
77
object C {
88
def main(args: Array[String]): Unit = {

0 commit comments

Comments
 (0)