From 7c71e1b0583a253019712bca74609877d194bb79 Mon Sep 17 00:00:00 2001 From: hlaaf Date: Wed, 6 Jun 2018 00:39:07 +0300 Subject: [PATCH] Fix GC_getStatistics calling itself GC_disableMarkAndSweep in JS (again) --- lib/system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system.nim b/lib/system.nim index b8aa170ea2..fee9dc3141 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) =