* Fix https://github.com/nim-lang/Nim/issues/13889 * Add testcase * Reduce test time Co-authored-by: Elie Zedeck RANDRIAMIANDRIRAY <elie.zedeck@gmail.com>
This commit is contained in:
parent
1e25e16c88
commit
92c4aad205
2 changed files with 28 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ template createCb(retFutureSym, iteratorNameSym,
|
|||
else:
|
||||
{.gcsafe.}:
|
||||
{.push hint[ConvFromXtoItselfNotNeeded]: off.}
|
||||
next.callback = cast[proc() {.closure, gcsafe.}](identName)
|
||||
next.addCallback cast[proc() {.closure, gcsafe.}](identName)
|
||||
{.pop.}
|
||||
except:
|
||||
futureVarCompletions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue