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

Array of tuple not supported in the main function #2891

Closed
0xrishabh opened this issue Sep 29, 2023 · 1 comment · Fixed by #2899
Closed

Array of tuple not supported in the main function #2891

0xrishabh opened this issue Sep 29, 2023 · 1 comment · Fixed by #2899
Labels
bug Something isn't working

Comments

@0xrishabh
Copy link

Aim

I tried to pass array of tuple to the main function

Expected Behavior

It should have compiled successfully

Bug

Message:  not yet implemented: AbiType::from_type not yet implemented for tuple types
Location: tooling/noirc_abi/src/lib.rs:167

To Reproduce

global DEPTH: Field = 11;
fn main(x: [(u8, u8, u8); DEPTH], y: u8) {}

Compile this

Installation Method

None

Nargo Version

No response

Additional Context

No response

Would you like to submit a PR for this Issue?

Yes

Support Needs

No response

@0xrishabh 0xrishabh added the bug Something isn't working label Sep 29, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Sep 29, 2023
@vezenovm
Copy link
Contributor

This a repeat of #1855 except that this issue is talking about inputs to main rather than outputs from main, but both would be implemented at the same time.

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Sep 29, 2023
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
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants