Merge pull request #7966 from hlaaftana/patch-4

Fix GC_getStatistics calling itself GC_disableMarkAndSweep in JS (again)
This commit is contained in:
Andreas Rumpf
2018-06-06 11:07:21 +02:00
committed by GitHub

View File

@@ -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) =