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

Decreases clauses require parentheses, unlike requires and ensures #1765

Closed
msprotz opened this issue Jun 12, 2019 · 1 comment
Closed

Decreases clauses require parentheses, unlike requires and ensures #1765

msprotz opened this issue Jun 12, 2019 · 1 comment

Comments

@msprotz
Copy link
Collaborator

msprotz commented Jun 12, 2019

Lemma ...
  (requires f x)
  (ensures g y)
  (decreases h z)

does not work but

Lemma ...
  (requires f x)
  (ensures g y)
  (decreases (h z))

does

It would be good to make this uniform.

Thanks,

Jonathan

@mtzguido
Copy link
Member

Oh I actually fixed this with PR #2162 , it does not need parentheses anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants