diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-05-31 01:51:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 10:51:20 +0200 |
commit | 18b477431138d944b90e7a6e6e0412496634b518 (patch) | |
tree | 23c74b9eb166c38d2fce05fb33321cf6135d4689 /tests/destructor/tatomicptrs.nim | |
parent | 98ea61f09b4bfdc13c911b1ff3fb404dfc0d1338 (diff) | |
download | Nim-18b477431138d944b90e7a6e6e0412496634b518.tar.gz |
document macros.unpackVarargs (#18106)
* deprecate macros.unpackVarargs * un-deprecate unpackVarargs and add docs+runnableExamples * update examples + tests with varargs[typed]
Diffstat (limited to 'tests/destructor/tatomicptrs.nim')
-rw-r--r-- | tests/destructor/tatomicptrs.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/destructor/tatomicptrs.nim b/tests/destructor/tatomicptrs.nim index 7313afbf5..36f0cab8a 100644 --- a/tests/destructor/tatomicptrs.nim +++ b/tests/destructor/tatomicptrs.nim @@ -72,6 +72,7 @@ template `.=`*[T](s: SharedPtr[T]; field, value: untyped) = from macros import unpackVarargs template `.()`*[T](s: SharedPtr[T]; field: untyped, args: varargs[untyped]): untyped = + # xxx this isn't used, the test should be improved unpackVarargs(s.x.field, args) |