Skip to content

Commit a784915

Browse files
committed
Fix test comment
1 parent 8c405ac commit a784915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/neg/i12828c.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ abstract class Foo[A] {
44
abstract class Bar[A] extends Foo[A] {
55
def foo(x: A with String): Unit = println(x.toUpperCase)
66
}
7-
object Baz extends Bar[Int] // error overriding foo: incompatible type
7+
object Baz extends Bar[Int] // error: not implemented (same as Scala 2)
88
// Scala 2 gives: object creation impossible. Missing implementation for `foo`
99

1010
object Test {

0 commit comments

Comments
 (0)