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
trait Foo { let N: u32; fn get_array(self) -> [Self; N]; } impl Foo for Field { let N = 2; fn get_array(self) -> [Self; Self::N] { [1, 2] } } impl Foo for Field { let N = 3; fn get_array(self) -> [Self; Self::N] { [1, 2, 3] } } fn main(x: Field) { x.get_array(); }
Expected an error that there are two impl Foo for Field
impl Foo for Field
No error - the program compiles without any related warnings
None
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Aim
Expected Behavior
Expected an error that there are two
impl Foo for Field
Bug
No error - the program compiles without any related warnings
To Reproduce
Workaround
None
Workaround Description
No response
Additional Context
No response
Project Impact
None
Blocker Context
No response
Nargo Version
No response
NoirJS Version
No response
Proving Backend Tooling & Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: