summary refs log tree commit diff stats
path: root/tests/threads
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-05-27 15:57:20 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-05-27 21:29:02 +0200
commit795044ed2b9efd20ea220104ffc2894421930b2c (patch)
tree4845b33f4ec49a54c897c49101d8e3e32048f0fa /tests/threads
parent383147f5cb3db55cde451902d2c11c5cee9df075 (diff)
downloadNim-795044ed2b9efd20ea220104ffc2894421930b2c.tar.gz
make tests green again
Diffstat (limited to 'tests/threads')
-rw-r--r--tests/threads/threadex.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/threads/threadex.nim b/tests/threads/threadex.nim
index e61ce5c9c..50a1a4d34 100644
--- a/tests/threads/threadex.nim
+++ b/tests/threads/threadex.nim
@@ -34,7 +34,7 @@ proc produce() {.thread.} =
     m.data = line
     chan.send(m)
   close(input)
-  m.k = mEof
+  m = TMsg(k: mEof)
   chan.send(m)
 
 open(chan)