summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorClyybber <darkmine956@gmail.com>2020-04-06 15:35:27 +0200
committerGitHub <noreply@github.com>2020-04-06 14:35:27 +0100
commit1e25e16c8834324006e8ce00e20e6d59e6c5cf6f (patch)
tree27f9fcce08aabc7d36102c240f9a733bf196193b /lib/system
parente6d870896b88c30ac11174b34449a19ff1333235 (diff)
downloadNim-1e25e16c8834324006e8ce00e20e6d59e6c5cf6f.tar.gz
Fix #13872 (#13898)
Diffstat (limited to 'lib/system')
-rw-r--r--lib/system/repr_v2.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/system/repr_v2.nim b/lib/system/repr_v2.nim
index 3e35b32c3..fa04ba5a9 100644
--- a/lib/system/repr_v2.nim
+++ b/lib/system/repr_v2.nim
@@ -14,6 +14,11 @@ proc repr*(x: int64): string {.magic: "Int64ToStr", noSideEffect.}
   ## repr for an integer argument. Returns `x`
   ## converted to a decimal string.
 
+proc repr*(x: uint64): string {.noSideEffect.} =
+  ## repr for an unsigned integer argument. Returns `x`
+  ## converted to a decimal string.
+  $x #Calls `$` from system/strmantle.nim
+
 proc repr*(x: float): string {.magic: "FloatToStr", noSideEffect.}
   ## repr for a float argument. Returns `x`
   ## converted to a decimal string.