[Struct {}, N]
syntax results in a panic due to assigning LocalId(0)
twice
#2786
Labels
bug
Something isn't working
Aim
I'm trying to initialize an array of a user-defined
struct
.Expected Behavior
If this is meant to be supported, then my code should run.
If not, then an appropriate error message should be printed.
Bug
I get the following error output.
To Reproduce
struct
struct
inmain
main
in a test and runnargo test
Installation Method
Binary
Nargo Version
nargo 0.10.5 (git version hash: 91efe44, is dirty: false)
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: