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

Space after in, out and invariant #448

Closed
belka-ew opened this issue Sep 24, 2019 · 1 comment · Fixed by #465
Closed

Space after in, out and invariant #448

belka-ew opened this issue Sep 24, 2019 · 1 comment · Fixed by #465

Comments

@belka-ew
Copy link
Collaborator

According to the D Style there should be a space after in, out and invariant in contracts.

< in (value % 7 == 0)
< out (result; result % 11 == 0)
---
> in(value % 7 == 0)
> out(result; result % 11 == 0)
@WebFreak001
Copy link
Member

this should probably be controlled by dfmt_space_after_keywords (default true) which still needs to be implemented, but seems to currently be an inconsistent default

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

Successfully merging a pull request may close this issue.

2 participants