diff options
author | Araq <rumpf_a@web.de> | 2018-08-13 17:27:44 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-08-13 17:27:44 +0200 |
commit | 420ed0596b8114c67275c4702fa3524ebd76e5eb (patch) | |
tree | f381eaedb04743a43faa1ded7e5d77ac5952ab3e /tests/threads | |
parent | d60bb1b289c7914443a20b78bfb6c69f05184937 (diff) | |
download | Nim-420ed0596b8114c67275c4702fa3524ebd76e5eb.tar.gz |
fixes more nil handling regressions
Diffstat (limited to 'tests/threads')
-rw-r--r-- | tests/threads/tactors.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/threads/tactors.nim b/tests/threads/tactors.nim index 45a03ebb7..ea052b9bd 100644 --- a/tests/threads/tactors.nim +++ b/tests/threads/tactors.nim @@ -5,9 +5,9 @@ discard """ import actors var - pool: TActorPool[int, void] + pool: ActorPool[int, void] createActorPool(pool) -for i in 0 .. < 300: +for i in 0 ..< 300: pool.spawn(i, proc (x: int) {.thread.} = echo x) pool.join() |