This commit is contained in:
Araq 2019-08-20 15:47:04 +02:00
commit b1b0960c36
2 changed files with 7 additions and 1 deletions

View file

@ -11,4 +11,8 @@ var y: range[-1'f64..1'f64]
doAssert y.low == -1'f64
doAssert y.high == 1'f64
doAssert y.type.low == -1'f64
doAssert y.type.high == 1'f64
doAssert y.type.high == 1'f64
# bug #11972
var num: uint8
doAssert num.high.float == 255.0