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] Properly force enum variants #1835

Merged
merged 2 commits into from
Mar 5, 2024
Merged

[Fix] Properly force enum variants #1835

merged 2 commits into from
Mar 5, 2024

Commits on Mar 5, 2024

  1. Properly force enum variants

    The implementation of deep_seq and force primops haven't been properly
    updated to handle enum variants, letting them mostly unevaluated. This
    could in particular let contracts be unexpectedly unevaluated, and also
    show unevaluated chunk in the REPL when inputting enum variants there,
    which isn't ideal.
    
    This commit properly forces enum variants.
    yannham committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    2475a77 View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: Viktor Kleen <[email protected]>
    yannham and vkleen authored Mar 5, 2024
    Configuration menu
    Copy the full SHA
    1f9578a View commit details
    Browse the repository at this point in the history