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

docs: Document :termination attribute #1822

Merged
merged 3 commits into from
Feb 15, 2022

Conversation

RustanLeino
Copy link
Collaborator

This PR extends the /attrHelp output to document the {:termination} attribute.

@MikaelMayer
Copy link
Member

Can {:termination false} be used anywhere to say "don't verify termination" or is it only for trait methods? How is it different from decreases *

@RustanLeino
Copy link
Collaborator Author

Good points, @MikaelMayer . I updated the PR with answers to your questions.

Copy link
Member

@MikaelMayer MikaelMayer left a comment

Choose a reason for hiding this comment

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

Great job documenting the difference with decreases *

@MikaelMayer MikaelMayer merged commit aa18280 into dafny-lang:master Feb 15, 2022
@RustanLeino RustanLeino deleted the doc-termination-false branch February 16, 2022 21:24
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