Skip to content

Commit 79c0cb6

Browse files
committed
Fix tests
1 parent 4cb50f1 commit 79c0cb6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/neg/i4934.scala

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
object Foo {
2-
val a = ""); // error: end of statement expected
3-
}
41
// From #5824:
52
object Main {
63
def main(args: Array[String]): Unit = {
74
val foo = 123 ""; // error: end of statement expected
85
println(foo)
96
}
10-
}
7+
}
8+
9+
object Foo {
10+
val a = ""); // error: `}` expected but `)` found
11+
} // error: eof expected

tests/neg/parser-stability-4.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
class x0{
22
def x0: x0 = (x0 => x0) => x0) // error // error
3-
// error

0 commit comments

Comments
 (0)