From e3500ba4581a1a75bba474eb5dbf68676399514a Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Fri, 24 Mar 2017 14:23:37 +0200 Subject: [PATCH] Make tgc_unsafe2 green again apparently, the error reporting code introduced for concepts results in a slightly diffent output for this test case. --- tests/parallel/tgc_unsafe2.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/parallel/tgc_unsafe2.nim b/tests/parallel/tgc_unsafe2.nim index 4a5f36f6d1..40bfbdadb4 100644 --- a/tests/parallel/tgc_unsafe2.nim +++ b/tests/parallel/tgc_unsafe2.nim @@ -1,8 +1,8 @@ discard """ line: 28 - nimout: '''tgc_unsafe2.nim(22, 5) Warning: 'trick' is not GC-safe as it accesses 'global' which is a global using GC'ed memory -tgc_unsafe2.nim(26, 5) Warning: 'track' is not GC-safe as it calls 'trick' -tgc_unsafe2.nim(28, 5) Error: 'consumer' is not GC-safe as it calls 'track' + nimout: '''tgc_unsafe2.nim(22, 6) Warning: 'trick' is not GC-safe as it accesses 'global' which is a global using GC'ed memory [GcUnsafe2] +tgc_unsafe2.nim(26, 6) Warning: 'track' is not GC-safe as it calls 'trick' [GcUnsafe2] +tgc_unsafe2.nim(28, 6) Error: 'consumer' is not GC-safe as it calls 'track' ''' errormsg: "'consumer' is not GC-safe as it calls 'track'" """