bugfix: 'when' sections in generic objects now work, so TThread[void] compiles

This commit is contained in:
Araq 2011-11-20 16:13:03 +01:00
commit 72651de710
13 changed files with 153 additions and 77 deletions

View file

@ -14,7 +14,7 @@ proc horrible() {.thread.} =
var mydata = (x, "my string too")
echo global
createThread(t, horrible)
createThread[void](t, horrible)
joinThread(t)