Skip to content

Conversation

@marcoeilers
Copy link
Contributor

This PR adds consistency checks that forbid inhale-exhale assertions in predicate bodies and in function preconditions. Currently, Silicon raises an internal error when it encounters these (see viperproject/silicon#271), whereas Carbon just accepts them.

I think the semantics is at the very least completely unclear and probably doesn't make sense at all, which is why this PR forbids this situation for now. However, this obviously needs to be discussed first, so this PR should not be merged before it's been discussed in a Viper meeting.

@marcoeilers marcoeilers marked this pull request as draft December 29, 2024 04:32
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