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 a9e1013 commit 78630f9Copy full SHA for 78630f9
tests/init/neg/function1.scala
@@ -4,7 +4,7 @@ class Foo {
4
val fun2: Int => Int = n => 1 + n + list.size
5
fun2(5)
6
7
- List(5, 9).map(n => 2 + n + list.size)
+ List(5, 9).map(n => 2 + n + list.size) // error
8
9
final val list = List(1, 2, 3) // error
10
0 commit comments