summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorhlaaf <hlaaftana@users.noreply.github.com>2018-06-06 00:39:07 +0300
committerGitHub <noreply@github.com>2018-06-06 00:39:07 +0300
commit7c71e1b0583a253019712bca74609877d194bb79 (patch)
tree89220d06f5fe07ba153fbadc62d845a3147afb89 /lib/system.nim
parent3cbc07ac7877b03c605498760fe198e3200cc197 (diff)
downloadNim-7c71e1b0583a253019712bca74609877d194bb79.tar.gz
Fix GC_getStatistics calling itself GC_disableMarkAndSweep in JS (again)
Diffstat (limited to 'lib/system.nim')
-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) =