asyncio compiles again

This commit is contained in:
Araq 2014-08-12 22:38:10 +02:00
commit 1ee87b88ee

View file

@ -671,6 +671,7 @@ when isMainModule:
testRead(s, 2)
disp.register(client)
proc main =
var d = newDispatcher()
var s = AsyncSocket()
@ -692,4 +693,4 @@ when isMainModule:
d.register(server)
while d.poll(-1): discard
main()