Fix asyncdispatch docgen

This commit is contained in:
Dominik Picheta
2017-11-24 22:47:38 +00:00
committed by Dominik Picheta
parent 4cc8c15064
commit 94fe5bd118

View File

@@ -281,7 +281,7 @@ when defined(windows) or defined(nimdoc):
if createIoCompletionPort(fd.Handle, p.ioPort,
cast[CompletionKey](fd), 1) == 0:
raiseOSError(osLastError())
p.handles.incl(fd)
p.handles.incl(fd.AsyncFD)
return fd.AsyncFD
proc verifyPresence(fd: AsyncFD) =
@@ -1638,4 +1638,4 @@ proc waitFor*[T](fut: Future[T]): T =
fut.read
{.deprecated: [setEvent: trigger].}
{.deprecated: [setEvent: trigger].}