Skip to content

Commit 8750c14

Browse files
committed
Add error markers to tests
1 parent 04b86dc commit 8750c14

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

tests/neg/parser-stability-1.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
object x0 {
2-
x1 match
3-
def this
4-
2+
x1 match // error
3+
def this // error // error

tests/neg/parser-stability-2.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
trait x0 {
2-
new _
2+
new _ // error // error

tests/neg/parser-stability.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
class I2[I2] {
2-
def I2: I2 = (I2 => I2) => I2
2+
def I2: I2 = (I2 => I2) => I2 // error // error

0 commit comments

Comments
 (0)