We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1ea177d + d0182b4 commit 0f3dfc2Copy full SHA for 0f3dfc2
docs/_docs/reference/dropped-features/nonlocal-returns.md
@@ -25,3 +25,5 @@ extension [T](xs: List[T])
25
val xs = List(1, 2, 3, 4, 5)
26
assert(xs.has(2) == xs.contains(2))
27
```
28
+
29
+Note: compiler produces deprecation error on nonlocal returns only with `-source:future` option.
0 commit comments