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

Calling closures in the comptime interpreter is incorrect #4879

Open
Tracked by #4594
jfecher opened this issue Apr 22, 2024 · 0 comments
Open
Tracked by #4594

Calling closures in the comptime interpreter is incorrect #4879

jfecher opened this issue Apr 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jfecher
Copy link
Contributor

jfecher commented Apr 22, 2024

Aim

Resolving a TODO:

https://github.com/noir-lang/noir/blob/master/compiler/noirc_frontend/src/hir/comptime/interpreter.rs#L168

Expected Behavior

Closures should be able to be called like normal functions

Bug

Calling closures with captures will likely fail when the capture is later referenced

To Reproduce

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

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