Fix #1171.
This commit is contained in:
parent
a21289f5d5
commit
8802688e9f
2 changed files with 22 additions and 13 deletions
8
tests/async/tnestedpfuturetypeparam.nim
Normal file
8
tests/async/tnestedpfuturetypeparam.nim
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import asyncdispatch, asyncnet
|
||||
|
||||
proc main {.async.} =
|
||||
proc f: PFuture[seq[int]] {.async.} =
|
||||
await newAsyncSocket().connect("www.google.com", TPort(80))
|
||||
let x = await f()
|
||||
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue