We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Deriving a BEq instance like so:
structure BVBit where {w : Nat} idx : Fin w deriving BEq
leads to an error:
type mismatch b✝ has type Fin b✝¹ : Type but is expected to have type Fin a✝¹ : Type
Presumably because the BEq derive handler does not account for dependent types in this fashion.
Run the above code
Expected behavior: we get a BEq instance
Actual behavior: we get a (rather undescriptive) error
"4.7.0-rc2"
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered:
deriving BEq
Successfully merging a pull request may close this issue.
Prerequisites
Description
Deriving a BEq instance like so:
leads to an error:
Presumably because the BEq derive handler does not account for dependent types
in this fashion.
Steps to Reproduce
Run the above code
Expected behavior: we get a BEq instance
Actual behavior: we get a (rather undescriptive) error
Versions
"4.7.0-rc2"
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered: