Apparently, if I add `{.async.}`, then I must treat `result` as type `T`
instead of type `Future[T]`. But I still get error (plus the same ShadowIndent
warning):
multiproc.nim(141, 3) Warning: shadowed identifier: 'result' [ShadowIdent]
main.nim(15, 40) template/generic instantiation from here
lib/pure/asyncmacro.nim(41, 25) Error: attempting to call undeclared
routine: 'callback='
next.callback = cb
- Can't echo ref object? re: Nim in Action SidewinderMan
- Re: Is it possible to use pragma {.async.} on a generic... cdunn2001
