-
Notifications
You must be signed in to change notification settings - Fork 0
Subcomponents handling #230
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
Conversation
…and flip the order for constrain
Co-authored-by: Ian Neal <ian@veridise.com>
Co-authored-by: Timothy Hoffman <4001421+tim-hoffman@users.noreply.github.com>
Co-authored-by: Timothy Hoffman <4001421+tim-hoffman@users.noreply.github.com>
Co-authored-by: Timothy Hoffman <4001421+tim-hoffman@users.noreply.github.com>
Co-authored-by: Timothy Hoffman <4001421+tim-hoffman@users.noreply.github.com>
I looked through those 4 tests and the output generated from this branch. Subcomponents were the last thing that needed support so success is expected now. Add the checks generated from the python script. |
| .unwrap_or_else(|| panic!("Input {:?} not found for type {:?}", input, name)); | ||
| match wire.get_type() { | ||
| WireType::Signal => FeltType::new(self.context).into(), | ||
| WireType::Bus(name) => StructType::from_str(self.context, &name).into(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How are array inputs handled? Can you add a passing test with an array input, or is this TODO still?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still a TODO I think
Co-authored-by: Timothy Hoffman <4001421+tim-hoffman@users.noreply.github.com>
tim-hoffman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR adds some support for subcomponents.
Fixes #177
Tasks