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

Supertraits do not recognise that their subtraits are implemented if this depends on a trait bound on a generic. #6420

Closed
TomAFrench opened this issue Oct 31, 2024 · 0 comments · Fixed by #6421

Comments

@TomAFrench
Copy link
Member

This is a retrospective issue for a bug which is no longer in master.

In Noir 0.36.0, if a trait (trait A) which is a supertrait of another trait (trait B) which is only implemented on a generic type if type over which it is generic implements yet another trait (trait C) then an implementation of trait A with a trait bound such that trait C is implemented will fail to recognise that this implies that trait B is also implemented.

This caused the CI failures in noir-lang/noir-edwards#9.

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

Successfully merging a pull request may close this issue.

1 participant