I find this a valid case for all Comparable<A> and ClosedRange<A>
raulraja
05/01/2020, 10:14 PM
null is not in range and x being in range proofs is an Int. The contract system is not smart enough yet. @dmitriy.novozhilov Do you think ClosedRanges could constrain Comprable types to ensure smarcasting is applied in cases like this?