fixes #14616 [backport:1.2] (#15109)

This commit is contained in:
Andreas Rumpf 2020-07-29 11:11:58 +02:00 • committed by GitHub
commit a3a87cdb29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View file

@ -59,3 +59,13 @@ discard $(x1,)
# bug #13698
let n: csize = 1 # xxx should that be csize_t or is that essential here?
doAssert $n.int32 == "1"
# bug #14616
let limit = 1'u64
let rangeVar = 0'u64 ..< limit
doAssert repr(rangeVar) == """[a = 0,
b = 0]
"""