No Iter in stacktraces

This commit is contained in:
Yuriy Glukhov 2019-08-15 17:26:00 +02:00
parent 066d36163d
commit a30e4fe361
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ proc asyncSingleProc(prc: NimNode): NimNode {.compileTime.} =
# -> {.pop.}
# -> <proc_body>
# -> complete(retFuture, result)
var iteratorNameSym = genSym(nskIterator, $prcName & "Iter")
var iteratorNameSym = genSym(nskIterator, $prcName)
var procBody = prc.body.processBody(retFutureSym, subtypeIsVoid,
futureVarIdents)
# don't do anything with forward bodies (empty)