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

Name resolution panic from name shadowing test #4973

Open
michaeljklein opened this issue May 3, 2024 · 0 comments
Open

Name resolution panic from name shadowing test #4973

michaeljklein opened this issue May 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@michaeljklein
Copy link
Contributor

Aim

Attempted to test names overlapping in different parts of a program.

Expected Behavior

Compiling the program to fail because of type contradictions.

Bug

Found 12 (likely overlapping) cases where the following panic is thrown:

thread 'tests::test::test_name_shadowing' panicked at compiler/noirc_frontend/src/node_interner.rs:972:21:
no entry found for key

To Reproduce

Disable cases_to_skip in the name shadowing test

Project Impact

None

Impact Context

No response

Workaround

None

Workaround Description

No response

Additional Context

No response

Installation Method

None

Nargo Version

No response

NoirJS Version

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

@michaeljklein michaeljklein added the bug Something isn't working label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant