summary refs log tree commit diff stats
path: root/tests/closure/tcapture.nim
Commit message (Collapse)AuthorAgeFilesLines
* capture macro now accepts variables of different types (#13356)Clyybber2020-02-151-3/+11
| | | | | | | | | | * Capture macro can now accept variables of different types * Add test * Update examples * Use let instead of var
* Fix capture for object types (#13315)Clyybber2020-02-021-2/+16
| | | | | | * Fix capture for object|tuple|... types * Add test case
* introduce capture macro (#12712)Judd2019-12-101-0/+12
capture works for more cases than `closureScope`.