summary refs log tree commit diff stats
path: root/tests/threads/threadex.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-25 16:21:33 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-05-25 16:21:33 +0200
commitc0024fa587f06163d864ed10eac30ab78e37a278 (patch)
treed6b72e73346cd1525366b8da91d859d6b0acd4f9 /tests/threads/threadex.nim
parentcc9e94cd96fb45ab000cdea596d4a0cc1aa61039 (diff)
downloadNim-c0024fa587f06163d864ed10eac30ab78e37a278.tar.gz
fixes channels for --gc:regions
Diffstat (limited to 'tests/threads/threadex.nim')
-rw-r--r--tests/threads/threadex.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/threads/threadex.nim b/tests/threads/threadex.nim
index fb03cbfa8..679bfcb12 100644
--- a/tests/threads/threadex.nim
+++ b/tests/threads/threadex.nim
@@ -5,9 +5,9 @@ discard """
 type
   TMsgKind = enum
     mLine, mEof
-  TMsg = object {.pure, final.}
+  TMsg = object
     case k: TMsgKind
-    of mEof: nil
+    of mEof: discard
     of mLine: data: string
 
 var