For example
let x: 1..2 = 1
doAssert x == 1 # ok
doAssert (x,) == (1,) # Error: type mismatch
Run
- How to properly compare a tuple mixed ranges and int with a tup... Dabod
For example
let x: 1..2 = 1
doAssert x == 1 # ok
doAssert (x,) == (1,) # Error: type mismatch
Run