From 8172ac8c0b29d20cd0725ad67ba9f965f5902940 Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 30 Oct 2018 21:58:02 +0100 Subject: [PATCH] system.nim: workaround for the fixed documentation generator (cherry picked from commit 1dd1d66f16011c38fc8257e9382adcf200343e96) --- lib/system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system.nim b/lib/system.nim index 4f068b5bd5..837408e60a 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -2940,7 +2940,7 @@ when defined(nimnomagic64): ## returns the absolute value of `x`. If `x` is ``low(x)`` (that ## is -MININT for its type), an overflow exception is thrown (if overflow ## checking is turned on). - if x < 0: -x else: x + result = if x < 0: -x else: x else: proc abs*(x: int64): int64 {.magic: "AbsI64", noSideEffect.} = ## returns the absolute value of `x`. If `x` is ``low(x)`` (that