We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6e3d12 + 0f3dfc2 commit 040d141Copy full SHA for 040d141
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