diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2017-07-14 20:18:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-14 20:18:06 +0100 |
commit | 8b107972c5535b0031918eb7c0364bde5761d0ac (patch) | |
tree | d8e70cd187a021f80ef3474c30bae2f8d400f005 /tests/async/tasyncrecursion.nim | |
parent | 85d4109a0d17b2a5d543b3e422c3b65457394638 (diff) | |
parent | cb5b1c93448a165ca2c00c461a7aa9f45990ccc2 (diff) | |
download | Nim-8b107972c5535b0031918eb7c0364bde5761d0ac.tar.gz |
Merge pull request #5938 from zielmicha/futures
[WIP] Better Future
Diffstat (limited to 'tests/async/tasyncrecursion.nim')
-rw-r--r-- | tests/async/tasyncrecursion.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/async/tasyncrecursion.nim b/tests/async/tasyncrecursion.nim index 54482edab..1aeebe9b4 100644 --- a/tests/async/tasyncrecursion.nim +++ b/tests/async/tasyncrecursion.nim @@ -17,5 +17,6 @@ proc asyncRecursionTest*(): Future[int] {.async.} = inc(i) when isMainModule: + setGlobalDispatcher(newDispatcher()) var i = waitFor asyncRecursionTest() echo i |