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
    

Reply via email to