Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Bug fixes and variants test. #14

Merged
merged 1 commit into from
Jun 28, 2021
Merged

Bug fixes and variants test. #14

merged 1 commit into from
Jun 28, 2021

Conversation

peterhuene
Copy link
Owner

This PR fixes the following bugs:

  • Returned lists are now properly freed.
  • Parameter variants with lists now properly assign to the list local conditionally
    rather than always.
  • Variants without lists in their cases will no longer cause unnecessary code
    generation.

Additionally, the variants test case was copied from witx-codgen and added as
a test case here.

This commit fixes the following bugs:

* Returned lists are now properly freed.
* Parameter variants with lists now properly assign to the list local conditionally
  rather than always.
* Variants without lists in their cases will no longer cause unnecessary code
  generation.

Additionally, the `variants` test case was copied from witx-codgen and added as
a test case here.
@peterhuene peterhuene merged commit 1e6adbe into main Jun 28, 2021
@peterhuene peterhuene deleted the reimpl branch June 28, 2021 17:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant