-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TermTest fails for Range with Elixir v1.12 #392
Comments
Decoding this to always include |
The problem is that the correct step is lost when decoding |
I currently see these options here: a. Require that Opinions? |
I like the option |
#399 implements option a. We don't have an encoder for |
On master (ec1cd5b) with Elixir v1.12.2:
The
step
field was added with v1.12 to Elixir'sRange
. This is unfortunate, asRange
no longer maps to Rust'sstd::ops::RangeInclusive
.EDIT: The test above is simple to fix (allow both the old and new form to match), but it's not clear how to handle
Decoder
forRangeInclusive<T>
.The text was updated successfully, but these errors were encountered: