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

fix(ssa refactor): Fix panic in acir-gen from multiplying values of different types #1769

Merged
merged 4 commits into from
Jun 22, 2023

Conversation

jfecher
Copy link
Contributor

@jfecher jfecher commented Jun 20, 2023

Description

Problem*

Resolves #1768

Summary*

Fixes an issue where acir_gen panics after the SSA flattening pass generates a multiplication of a boolean condition and non-boolean value.

Documentation

  • This PR requires documentation updates when merged.

    • I will submit a noir-lang/docs PR.
    • I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@jfecher jfecher changed the title Fix merge values of different types bug fix(ssa refactor): Fix panic in acir-gen from multiplying values of different types Jun 20, 2023
kevaundray
kevaundray previously approved these changes Jun 20, 2023
Base automatically changed from jf/merge-arrays to master June 21, 2023 01:28
@kevaundray kevaundray dismissed their stale review June 21, 2023 01:28

The base branch was changed.

@kevaundray kevaundray added this pull request to the merge queue Jun 21, 2023
Merged via the queue into master with commit 1f9a132 Jun 22, 2023
@kevaundray kevaundray deleted the jf/fix-merge-values branch June 22, 2023 00:38
This was referenced Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants