summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-11-20 16:13:03 +0100
committerAraq <rumpf_a@web.de>2011-11-20 16:13:03 +0100
commit72651de7103a85f68b6e86353960daf6e62b37df (patch)
tree7ec632d331ab39149fef59d8bcee66247a6556c7 /tests
parenta274f3bf5be3fc35f1538e5aab0e32fb9ed2ff82 (diff)
downloadNim-72651de7103a85f68b6e86353960daf6e62b37df.tar.gz
bugfix: 'when' sections in generic objects now work, so TThread[void] compiles
Diffstat (limited to 'tests')
-rwxr-xr-xtests/threads/tthreadheapviolation1.nim2
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)