Skip to content

Conversation

@ineol
Copy link
Collaborator

@ineol ineol commented Nov 29, 2025

Early returns are encoded using an exception monad in Lean, and it did not allow to throw exceptions. As a by-product, we move some definitions from Specialization.lean to Sail.lean.

Early returns are encoded using an exception monad in Lean, and it did
not allow to throw exceptions. As a by-product, we move some definitions
from `Specialization.lean` to `Sail.lean`.
@github-actions
Copy link

Test Results

   16 files     36 suites   0s ⏱️
1 006 tests 1 002 ✅  4 💤 0 ❌
4 867 runs  4 824 ✅ 43 💤 0 ❌

Results for commit 536972c.

@bacam
Copy link
Contributor

bacam commented Dec 2, 2025

Is there a test for this? Perhaps one of the skipped C-suite tests should start working?

@ineol
Copy link
Collaborator Author

ineol commented Dec 2, 2025

@bacam I added a test in early_return.lean but it was drowned by all the expected changes.

@bacam bacam merged commit 479e75a into rems-project:sail2 Dec 2, 2025
9 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