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)
|
raise newException(AssertionError, msg % name)
|
||||||
else:
|
else:
|
||||||
{.gcsafe.}:
|
{.gcsafe.}:
|
||||||
|
{.push hint[ConvFromXtoItselfNotNeeded]: off.}
|
||||||
next.callback = (proc() {.closure, gcsafe.})(cb)
|
next.callback = (proc() {.closure, gcsafe.})(cb)
|
||||||
|
{.pop.}
|
||||||
except:
|
except:
|
||||||
futureVarCompletions
|
futureVarCompletions
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue