Skip to content

Conversation

@zhassan-aws
Copy link
Contributor

Description of changes:

While performing codegen for generators, the order of operands was inconsistent with the order of fields for the generator struct. This PR fixes the issue by using the field index to index into the operands array.

Resolved issues:

Resolves #2434

Related RFC:

Optional #ISSUE-NUMBER.

Call-outs:

Testing:

  • How is this change tested? Added one test

  • Is this a refactor change? No

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@zhassan-aws zhassan-aws requested a review from a team as a code owner May 10, 2023 23:34
@zhassan-aws zhassan-aws merged commit c3d28e0 into model-checking:main May 11, 2023
@zhassan-aws zhassan-aws deleted the iss2434 branch May 11, 2023 16:16
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.

Kani 0.27 unexpectedly panicked during compilation

3 participants