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

When rewriting guarded clauses, use proper env in pat_to_exp #992

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

bacam
Copy link
Contributor

@bacam bacam commented Feb 13, 2025

Before, the env didn't have the pattern variables and the cases that type check the resulting expression immediately will fail. Normally this doesn't happen, but this is a prerequisite for keeping vector concatenation patterns in the Lean backend.

Before, the env didn't have the pattern variables and the cases that
type check the resulting expression immediately will fail.  Normally
this doesn't happen, but this is a prerequisite for keeping vector
concatenation patterns in the Lean backend.
Copy link

Test Results

   12 files  ±0     26 suites  ±0   0s ⏱️ ±0s
  767 tests ±0    767 ✅ ±0  0 💤 ±0  0 ❌ ±0 
2 713 runs  ±0  2 713 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 18beac0. ± Comparison against base commit fb7249f.

@Alasdair Alasdair merged commit e1994c5 into rems-project:sail2 Feb 13, 2025
3 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