move system.dollars in a separate file (#10829)

This commit is contained in:
Miran 2019-03-13 15:59:09 +01:00 • committed by Andreas Rumpf
commit 84d3f3d448
9 changed files with 223 additions and 212 deletions

View file

@ -293,7 +293,9 @@ proc nimCharToStr(x: char): string {.compilerRtl.} =
result = newString(1)
result[0] = x
proc `$`(x: uint64): string =
proc `$`*(x: uint64): string {.noSideEffect.} =
## The stringify operator for an unsigned integer argument. Returns `x`
## converted to a decimal string.
if x == 0:
result = "0"
else: