From 1e25e16c8834324006e8ce00e20e6d59e6c5cf6f Mon Sep 17 00:00:00 2001 From: Clyybber Date: Mon, 6 Apr 2020 15:35:27 +0200 Subject: [PATCH] Fix #13872 (#13898) --- lib/system/repr_v2.nim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/system/repr_v2.nim b/lib/system/repr_v2.nim index 3e35b32c35..fa04ba5a9c 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.