diff options
Diffstat (limited to 'lib/system/gc_ms.nim')
-rw-r--r-- | lib/system/gc_ms.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/gc_ms.nim b/lib/system/gc_ms.nim index a3b163a67..eda220901 100644 --- a/lib/system/gc_ms.nim +++ b/lib/system/gc_ms.nim @@ -496,7 +496,7 @@ when not defined(useNimRtl): inc(gch.recGcLock) proc GC_enable() = if gch.recGcLock <= 0: - raise newException(AssertionError, + raise newException(AssertionDefect, "API usage error: GC_enable called but GC is already enabled") dec(gch.recGcLock) |