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
commit 7c71e1b058
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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