status-im / nim-stew

stew is collection of utilities, std library extensions and budding libraries that are frequently used at Status, but are too small to deserve their own git repository.
139 stars 18 forks source link

chore: fix 'there should not be `high(value)`. use `high(type)`' deprecation #147

Closed LNSD closed 1 year ago

LNSD commented 1 year ago

In nwaku we have been using nim 1.6 for some time. This fixes the following deprecation warning:

/nwaku/vendor/nim-stew/stew/sorted_set/rbtree_desc.nim(197, 30) Warning: Deprecated since v1.4; there should not be `high(value)`. Use `high(type)`.; high is deprecated [Deprecated]
LNSD commented 1 year ago

I see all the Nim devel CI jobs failing, but the changes have nothing to do with the failing test cases. Is there any reason for that?

cc @zah @arnetheduck