Skip to content

Fixing invalid Boogie code for quantified predicates without parameters#541

Merged
marcoeilers merged 2 commits into
masterfrom
meilers_fix_391
Dec 30, 2024
Merged

Fixing invalid Boogie code for quantified predicates without parameters#541
marcoeilers merged 2 commits into
masterfrom
meilers_fix_391

Conversation

@marcoeilers

Copy link
Copy Markdown
Contributor

Fixing #391, though we currently do not get the error described there.
For this program:

predicate p()

method m()
  ensures forall i: Int :: p()

we currently get an error from Boogie because Carbon outputs a quantifier with no quantified variables.

@viper-admin viper-admin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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