update documentation for closureScope and capture (#12886)
This commit is contained in:
parent
9b8afd1dbb
commit
e1d79d40f2
2 changed files with 8 additions and 2 deletions
|
|
@ -3521,7 +3521,8 @@ Creating closures in loops
|
|||
|
||||
Since closures capture local variables by reference it is often not wanted
|
||||
behavior inside loop bodies. See `closureScope
|
||||
<system.html#closureScope.t,untyped>`_ for details on how to change this behavior.
|
||||
<system.html#closureScope.t,untyped>`_ and `capture
|
||||
<sugar.html#capture.m,openArray[typed],untyped>`_ for details on how to change this behavior.
|
||||
|
||||
Anonymous Procs
|
||||
---------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue