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

Exporter get variant information works on unions #999

Merged
merged 2 commits into from
Oct 14, 2024

Commits on Oct 14, 2024

  1. fix(exporter): get_variant_information: works fine on unions

    The helper function `get_variant_information` had an assertion about
    the ADT being anything but an union.  This function works fine on
    unions, though. A union is just like a struct: the difference is the
    semantics of its only variant. This is unrelated to
    `VariantInformations`.
    W95Psp committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    c547a6b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e81a9d View commit details
    Browse the repository at this point in the history