Skip to content

Properly handle unreachable clauses#30

Merged
flupe merged 3 commits intomasterfrom
rust
Nov 26, 2025
Merged

Properly handle unreachable clauses#30
flupe merged 3 commits intomasterfrom
rust

Conversation

@flupe
Copy link
Collaborator

@flupe flupe commented Nov 25, 2025

We now insert the Empty type definition in lambda box environment, so that unreachable clauses can simply be discarded by matching on Empty. Not very pretty, but we don't have to generate proofs so it works.

This addresses the following problem: peregrine-project/peregrine-tool#26.

@flupe flupe marked this pull request as ready for review November 26, 2025 08:41
@flupe flupe merged commit f12a4fb into master Nov 26, 2025
2 checks passed
@flupe flupe deleted the rust branch November 27, 2025 14:35
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.

1 participant