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 generating encode, decode function when spice.as with number #74

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

mununki
Copy link
Member

@mununki mununki commented Mar 11, 2024

Fixes #71

This PR fixes generating encode, decode function for (polymorphic)variants with @as(float) where the unnecessary if-then cases are generated.

@mununki mununki merged commit 68e8a11 into main Mar 11, 2024
1 check passed
@mununki mununki deleted the fix-as-number branch March 11, 2024 16:41
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.

Bug with exponent and spice.as
1 participant