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

Handling of Int in bind #54

Merged
merged 4 commits into from
Oct 10, 2024
Merged

Handling of Int in bind #54

merged 4 commits into from
Oct 10, 2024

Conversation

mariaKt
Copy link
Contributor

@mariaKt mariaKt commented Oct 4, 2024

This PR adds a rule to handle the case where an Int is part of the CallArgumentList passed to bind. This enables passing integer literals to functions directly. As part of that, we now can use the create transaction with an Int.

The new tests exercise these cases. Previously, they would result in a stuck configuration with bind at the top of the k cell. I attach these configurations for reference.
createwint2.out.stuck.txt
createwint1.out.stuck.txt

@mariaKt mariaKt requested a review from dwightguth October 4, 2024 17:34
@mariaKt mariaKt changed the title handling of Int in bind Handling of Int in bind Oct 4, 2024
@mariaKt mariaKt removed the request for review from dwightguth October 4, 2024 17:41
@mariaKt mariaKt merged commit d145b4b into main Oct 10, 2024
1 check passed
@mariaKt mariaKt deleted the bind-rule branch October 10, 2024 16:04
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.

2 participants