summary refs log tree commit diff stats
path: root/tests/effects
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2021-09-23 16:47:24 +0200
committerGitHub <noreply@github.com>2021-09-23 16:47:24 +0200
commit90a2b5afd8368777e5da9ab97c28130ba683e1d3 (patch)
treef554491558b2ac3b3c3c0f3424c69f1e31238813 /tests/effects
parent7d2a4c0880223c2c80a5c30227c26fa497898f39 (diff)
downloadNim-90a2b5afd8368777e5da9ab97c28130ba683e1d3.tar.gz
correct effect tracking for .borrowed procs [backport] (#18882)
* correct effect tracking for .borrowed procs [backport]

* progress

* fix error message in a test

* correctly fix it

Co-authored-by: narimiran <narimiran@disroot.org>
Diffstat (limited to 'tests/effects')
-rw-r--r--tests/effects/tgcsafe3.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/effects/tgcsafe3.nim b/tests/effects/tgcsafe3.nim
index 5137efe4c..36ea5112c 100644
--- a/tests/effects/tgcsafe3.nim
+++ b/tests/effects/tgcsafe3.nim
@@ -1,5 +1,5 @@
 discard """
-  errormsg: "'myproc' is not GC-safe as it accesses 'global_proc' which is a global using GC'ed memory"
+  errormsg: "'myproc' is not GC-safe as it calls 'global_proc'"
   line: 12
   cmd: "nim $target --hints:on --threads:on $options $file"
 """