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

Support multi-binding var expressions in Lean backend #983

Merged
merged 4 commits into from
Nov 14, 2024

Conversation

atomb
Copy link
Collaborator

@atomb atomb commented Nov 13, 2024

This allows expressions of the form var x, y := e1, e2; e3 to be translated to Lean.

Also bumps the versions of lean and lean-auto.

Visit(node.Body);
WriteText(")");
bindings.ForEach(b => WriteText(")"));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO .ForEach is an anti-pattern, since the IDE and debugger support is worse than when using the language-construct foreach

@keyboardDrummer keyboardDrummer merged commit 331cdf6 into boogie-org:master Nov 14, 2024
5 checks passed
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