mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 11:12:37 +00:00
Mention lack of js support in closure iterator limitations (#7110)
This commit is contained in:
committed by
Andreas Rumpf
parent
00295366b5
commit
d127dd8095
@@ -571,6 +571,7 @@ Closure iterators have other restrictions than inline iterators:
|
||||
3. ``return`` is allowed in a closure iterator (but rarely useful) and ends
|
||||
iteration.
|
||||
4. Neither inline nor closure iterators can be recursive.
|
||||
5. Closure iterators are not supported by the js backend.
|
||||
|
||||
Iterators that are neither marked ``{.closure.}`` nor ``{.inline.}`` explicitly
|
||||
default to being inline, but this may change in future versions of the
|
||||
|
||||
Reference in New Issue
Block a user