cddl icon indicating copy to clipboard operation
cddl copied to clipboard

Upper-bound-exclusive ranges erroneously exclude the lower bound

Open Limeth opened this issue 1 year ago • 0 comments

Citing the spec,

A range can be inclusive of both bounds given (denoted by joining two values by ".."), or it can include the lower bound and exclude the upper bound (denoted by instead using "...").

However, it seems that this library treats "..." ranges as exclusive-exclusive rather than inclusive-exclusive.

Limeth avatar Jul 08 '24 21:07 Limeth