Suppress "pointless conversion" hint (#6103)

This commit is contained in:
Yuriy Glukhov
2017-07-15 15:34:27 +03:00
committed by Andreas Rumpf
parent bdf6f59c6d
commit 4846ce0f41

View File

@@ -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