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 a43d39a commit e147fbeCopy full SHA for e147fbe
tests/pending/pos/i743.scala
@@ -0,0 +1,6 @@
1
+object NonLocalReturn {
2
+ def foo(a: List[Int]): Int = {
3
+ a.foreach(x => return x)
4
+ 0
5
+ }
6
+}
0 commit comments