We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cb50f1 commit 79c0cb6Copy full SHA for 79c0cb6
tests/neg/i4934.scala
@@ -1,10 +1,11 @@
1
-object Foo {
2
- val a = ""); // error: end of statement expected
3
-}
4
// From #5824:
5
object Main {
6
def main(args: Array[String]): Unit = {
7
val foo = 123 ""; // error: end of statement expected
8
println(foo)
9
}
10
+}
+
+object Foo {
+ val a = ""); // error: `}` expected but `)` found
11
+} // error: eof expected
tests/neg/parser-stability-4.scala
@@ -1,3 +1,2 @@
class x0{
def x0: x0 = (x0 => x0) => x0) // error // error
-// error
0 commit comments