diff options
author | Araq <rumpf_a@web.de> | 2018-10-30 21:58:02 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-10-30 21:58:59 +0100 |
commit | 1dd1d66f16011c38fc8257e9382adcf200343e96 (patch) | |
tree | 56767b007416cf17865600aa051ed7441ea6520e /lib/system.nim | |
parent | eb03684c57089fa33c3add694841a8f7f3ad8a72 (diff) | |
download | Nim-1dd1d66f16011c38fc8257e9382adcf200343e96.tar.gz |
system.nim: workaround for the fixed documentation generator
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim index 5155b6f85..db1d3ca1e 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -2994,7 +2994,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 |