Reverts 1446dc87c3. Fixes #4333. Fixes #4170.

This commit is contained in:
Dominik Picheta 2016-06-15 16:55:21 +01:00
commit 500aa0cb3f
3 changed files with 65 additions and 6 deletions

View file

@ -5,6 +5,8 @@ discard """
"""
import asyncdispatch
# Note: This is a test case for a bug.
proc accept(): Future[int] {.async.} =
await sleepAsync(100)
result = 4