Merge pull request #1173 from EXetoC/pfuture-nested-type-param

Fix #1171.
This commit is contained in:
Dominik Picheta 2014-05-03 22:51:03 +01:00
commit 05712fe805
2 changed files with 22 additions and 13 deletions

View 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()