Skip to content
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

Fix ambiguous associated type usage on top of 0.20.1 #110

Closed
wants to merge 2 commits into from

Conversation

gui1117
Copy link

@gui1117 gui1117 commented Feb 25, 2021

funty 1.2 adds an associated const which conflicts with BitMemory::BITS on type inference.
This PR resolve the ambiguity by expliciting trait to use.

This is meant to be based on 0.20.1 (which is not in the tree, I downloaded from crates.io)

Also could we release a 0.20.2 with this patch ?

richardkiss added a commit to richardkiss/clvm_rs that referenced this pull request Feb 25, 2021
Had to be careful with `funty`. See, for example
ferrilab/bitvec#110
richardkiss added a commit to Chia-Network/clvm_rs that referenced this pull request Feb 26, 2021
Had to be careful with `funty`. See, for example
ferrilab/bitvec#110
@myrrlyn
Copy link
Collaborator

myrrlyn commented Apr 18, 2021

Superseded but thank you and my apologies. Did the patch release resolve this?

@gui1117
Copy link
Author

gui1117 commented Apr 19, 2021

the patch release fix the funty version to 1.1, if some other create requires funty 1.2 then it would be great to be able to support 1.2 as well. But as far as I'm concerned we have no such usecase, so it is fine to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants