Fix GC_getStatistics calling itself GC_disableMarkAndSweep in JS (again)

This commit is contained in:
hlaaf
2018-06-06 00:39:07 +03:00
committed by GitHub
parent 3cbc07ac78
commit 7c71e1b058

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