mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 07:21:19 +00:00
Suppress "pointless conversion" hint (#6103)
This commit is contained in:
committed by
Andreas Rumpf
parent
bdf6f59c6d
commit
4846ce0f41
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user