asynctools
asynctools copied to clipboard
missing .gcsafe in asyncsync
.nimble/pkgs/asynctools-0.1.1/asynctools/asyncsync.nim(159, 15) Error: type mismatch: got <proc (){.closure.}>
but expected one of:
proc callSoon(cbproc: proc () {.gcsafe.})
first type mismatch at position: 1
required type for cbproc: proc (){.closure, gcsafe.}
but expression 'wakeupAll' is of type: proc (){.closure.}
This expression is not GC-safe. Annotate the proc with {.gcsafe.} to get extended error information.
expression: callSoon(wakeupAll)
$ nim -V
Nim Compiler Version 1.1.1 [Linux: amd64]
Compiled at 2020-01-29
Copyright (c) 2006-2019 by Andreas Rumpf
git hash: 2ecef8f779b6e5639145a5b2d2aaac6d9775c9eb
active boot switches: -d:danger
we should close this now that https://github.com/cheatfate/asynctools/pull/19 was merged