fix #20272 range of uint64 shows signed upper bound (#20702)

(cherry picked from commit 49e793e8c4)
This commit is contained in:
Bung
2022-11-01 12:58:32 +08:00
committed by narimiran
parent fe1e09a881
commit d5be917994
2 changed files with 8 additions and 1 deletions

4
tests/misc/t6549.nim Normal file
View File

@@ -0,0 +1,4 @@
const l = $(range[low(uint64) .. high(uint64)])
const r = "range 0..18446744073709551615(uint64)"
doAssert l == r