diff options
author | Araq <rumpf_a@web.de> | 2011-11-20 16:13:03 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-11-20 16:13:03 +0100 |
commit | 72651de7103a85f68b6e86353960daf6e62b37df (patch) | |
tree | 7ec632d331ab39149fef59d8bcee66247a6556c7 /tests | |
parent | a274f3bf5be3fc35f1538e5aab0e32fb9ed2ff82 (diff) | |
download | Nim-72651de7103a85f68b6e86353960daf6e62b37df.tar.gz |
bugfix: 'when' sections in generic objects now work, so TThread[void] compiles
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/threads/tthreadheapviolation1.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/threads/tthreadheapviolation1.nim b/tests/threads/tthreadheapviolation1.nim index cd35a44ca..7ca6f7928 100755 --- a/tests/threads/tthreadheapviolation1.nim +++ b/tests/threads/tthreadheapviolation1.nim @@ -14,7 +14,7 @@ proc horrible() {.thread.} = var mydata = (x, "my string too") echo global -createThread(t, horrible) +createThread[void](t, horrible) joinThread(t) |