-
Notifications
You must be signed in to change notification settings - Fork 224
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 map
on a slice panics
#4220
Labels
bug
Something isn't working
Comments
5 tasks
Is this issue related (#2540)? @michaeljklein Could you check if it is resolved by your work? |
@vezenovm yes that issue has the same underlying cause as this one |
This will no longer panic once #4408 is merged but is still active. |
5 tasks
github-merge-queue bot
pushed a commit
that referenced
this issue
Mar 19, 2024
# Description Replacement for #4232. Holding off on closing it to possibly port fixes from it, but wanted to start fresh because this approach is quite different. ## Problem\* Resolves #4220 ## Summary\* - Removes `NotConstant` - Separate syntax for slice literals: `&[..]` - Separate AST/type constructors for slices Notes: - I removed several broken links that were blocking updating the docs: + A few were to a missing `reference` docs folder, likely from an in-progress branch + One was to some `base_order_curve`, which has been moved to reference the `BigInt` struct ## Additional Context ## Documentation\* Check one: - [ ] No documentation needed. - [x] Documentation included in this PR. - [ ] **[Exceptional Case]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] I have tested the changes locally. - [x] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings. --------- Co-authored-by: Jake Fecher <jfecher11@gmail.com> Co-authored-by: jfecher <jake@aztecprotocol.com>
TomAFrench
pushed a commit
that referenced
this issue
Apr 3, 2024
# Description Replacement for #4232. Holding off on closing it to possibly port fixes from it, but wanted to start fresh because this approach is quite different. ## Problem\* Resolves #4220 ## Summary\* - Removes `NotConstant` - Separate syntax for slice literals: `&[..]` - Separate AST/type constructors for slices Notes: - I removed several broken links that were blocking updating the docs: + A few were to a missing `reference` docs folder, likely from an in-progress branch + One was to some `base_order_curve`, which has been moved to reference the `BigInt` struct ## Additional Context ## Documentation\* Check one: - [ ] No documentation needed. - [x] Documentation included in this PR. - [ ] **[Exceptional Case]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] I have tested the changes locally. - [x] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings. --------- Co-authored-by: Jake Fecher <jfecher11@gmail.com> Co-authored-by: jfecher <jake@aztecprotocol.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Aim
Allow calling
map
on a sliceExpected Behavior
The file to compile successfully and return nothing
Bug
Compiler panics
To Reproduce
returns:
Installation Method
Compiled from source
Nargo Version
nargo version = 0.23.0 noirc version = 0.23.0+5a9e434c51549d889e2538111393cc89030bb39c (git version hash: 3af2a89, is dirty: true)
Additional Context
No response
Would you like to submit a PR for this Issue?
Yes
Support Needs
No response
The text was updated successfully, but these errors were encountered: