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 fc20b42 commit 035786dCopy full SHA for 035786d
tests/neg-custom-args/captures/unbox.scala
@@ -0,0 +1,6 @@
1
+import language.`3.2`
2
+type Proc = () => Unit
3
+
4
+val xs: List[Proc] = ???
5
6
+val x = xs.head // error
0 commit comments