We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2f09495 + 8b0ef07 commit d0182b4Copy full SHA for d0182b4
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