summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-06-06 11:07:21 +0200
committerGitHub <noreply@github.com>2018-06-06 11:07:21 +0200
commit8804ecd17592f115e919b826730404e81f79c911 (patch)
tree1dc5a3cb475553981fc2eef3ba548d96f2d1667a /lib
parent1593b9cac4b9a5671c21e7eefaab65ace7dd0222 (diff)
parent7c71e1b0583a253019712bca74609877d194bb79 (diff)
downloadNim-8804ecd17592f115e919b826730404e81f79c911.tar.gz
Merge pull request #7966 from hlaaftana/patch-4
Fix GC_getStatistics calling itself GC_disableMarkAndSweep in JS (again)
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index b8aa170ea..fee9dc314 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -2681,7 +2681,7 @@ when not defined(nimscript) and hasAlloc:
       {.warning: "GC_unref is a no-op in JavaScript".}
 
     template GC_getStatistics*(): string =
-      {.warning: "GC_disableMarkAndSweep is a no-op in JavaScript".}
+      {.warning: "GC_getStatistics is a no-op in JavaScript".}
       ""
 
 template accumulateResult*(iter: untyped) =