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

comptime interpreter fails to perform slice equality #5273

Closed
TomAFrench opened this issue Jun 18, 2024 · 1 comment
Closed

comptime interpreter fails to perform slice equality #5273

TomAFrench opened this issue Jun 18, 2024 · 1 comment

Comments

@TomAFrench
Copy link
Member

The below program fails with the error message below.

fn main() {
    comptime {
        assert_eq(&[1], &[1]);
    }
}
error: No implementation for `[Field]` == `[Field]`
  ┌─ /home/tom/Programming/aztec/noir/test_programs/compile_success_empty/comptime_as_slice/src/main.nr:6:9
  │
6 │         assert_eq(&[1], &[1]);
  │         ----------------------
  │

Aborting due to 1 previous error
@jfecher
Copy link
Contributor

jfecher commented Jun 18, 2024

Duplicate of #4925

@jfecher jfecher marked this as a duplicate of #4925 Jun 18, 2024
@jfecher jfecher closed this as not planned Won't fix, can't repro, duplicate, stale Jun 18, 2024
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Jun 18, 2024
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

No branches or pull requests

2 participants