bugfix: 'when' sections in generic objects now work, so TThread[void] compiles
This commit is contained in:
parent
a274f3bf5b
commit
72651de710
13 changed files with 153 additions and 77 deletions
|
|
@ -14,7 +14,7 @@ proc horrible() {.thread.} =
|
|||
var mydata = (x, "my string too")
|
||||
echo global
|
||||
|
||||
createThread(t, horrible)
|
||||
createThread[void](t, horrible)
|
||||
joinThread(t)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue