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

Lean: varswap test fails #1149

Open
protoben opened this issue Mar 11, 2025 · 1 comment
Open

Lean: varswap test fails #1149

protoben opened this issue Mar 11, 2025 · 1 comment
Labels
Lean Issues with Sail to Lean translation

Comments

@protoben
Copy link
Collaborator

The varswap Lean test fails with the following message:

Type error:
varswap.sail:11.8-9:
11 |    (x, y) = (y, x);
   |        ^
   | Cannot modify immutable let-bound constant or enumeration constructor y

Failed: custom_flow.sail timeout 90s lake exe run > expected 2> err_status
@protoben protoben added the Lean Issues with Sail to Lean translation label Mar 11, 2025
@javra
Copy link
Collaborator

javra commented Mar 21, 2025

This looks similar to what you were fixing recently, @Alasdair, right? That this should be expanded to a series of let bindings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lean Issues with Sail to Lean translation
Projects
None yet
Development

No branches or pull requests

2 participants