Suppress "pointless conversion" hint (#6103)
This commit is contained in:
parent
bdf6f59c6d
commit
4846ce0f41
1 changed files with 2 additions and 0 deletions
|
|
@ -39,7 +39,9 @@ template createCb(retFutureSym, iteratorNameSym,
|
|||
raise newException(AssertionError, msg % name)
|
||||
else:
|
||||
{.gcsafe.}:
|
||||
{.push hint[ConvFromXtoItselfNotNeeded]: off.}
|
||||
next.callback = (proc() {.closure, gcsafe.})(cb)
|
||||
{.pop.}
|
||||
except:
|
||||
futureVarCompletions
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue