From c0024fa587f06163d864ed10eac30ab78e37a278 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Fri, 25 May 2018 16:21:33 +0200 Subject: fixes channels for --gc:regions --- tests/threads/threadex.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/threads/threadex.nim') 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 -- cgit 1.4.1-2-gfad0