diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-25 16:21:33 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-05-25 16:21:33 +0200 |
commit | c0024fa587f06163d864ed10eac30ab78e37a278 (patch) | |
tree | d6b72e73346cd1525366b8da91d859d6b0acd4f9 /tests/threads/threadex.nim | |
parent | cc9e94cd96fb45ab000cdea596d4a0cc1aa61039 (diff) | |
download | Nim-c0024fa587f06163d864ed10eac30ab78e37a278.tar.gz |
fixes channels for --gc:regions
Diffstat (limited to 'tests/threads/threadex.nim')
-rw-r--r-- | tests/threads/threadex.nim | 4 |
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 |