Skip to content

Commit 6f382a5

Browse files
committed
Add error markers
1 parent 97e261d commit 6f382a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/neg/i997a.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ class C {
1111

1212
import O._
1313

14-
println(O.CC(1))
14+
println(O.CC(1)) // error: CC cannot be accessed
1515

16-
val s: Super = 1
16+
val s: Super = 1 // error: type mismatch
1717

1818

1919
}

0 commit comments

Comments
 (0)