Skip to content

Commit 78630f9

Browse files
committed
Fix test: previous we only report 1 error
1 parent a9e1013 commit 78630f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/init/neg/function1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class Foo {
44
val fun2: Int => Int = n => 1 + n + list.size
55
fun2(5)
66

7-
List(5, 9).map(n => 2 + n + list.size)
7+
List(5, 9).map(n => 2 + n + list.size) // error
88

99
final val list = List(1, 2, 3) // error
1010

0 commit comments

Comments
 (0)