Skip to content

Commit baee69f

Browse files
committed
Fix #2412: Add regression test
1 parent 6c33431 commit baee69f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/neg/i2412.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
object Test {
2+
def test(foo: List[String]): Unit = {
3+
foo.filter(f => {
4+
iDontExist // error
5+
true
6+
})
7+
}
8+
}

0 commit comments

Comments
 (0)