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

List inferred attributes in recommended order #12

Open
linkrope opened this issue Jan 23, 2021 · 1 comment
Open

List inferred attributes in recommended order #12

linkrope opened this issue Jan 23, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@linkrope
Copy link

I would like to copy & paste the inferred attributes directly into the code.
https://dlang.org/dstyle.html, however, recommends:
Attributes should be listed in alphabetical ordering, e.g. const @nogc nothrow pure @safe (the ordering should ignore the leading @).
Currently, the ordering seems to not ignore the leading @.

@jacob-carlborg jacob-carlborg added the enhancement New feature or request label Jan 23, 2021
@jacob-carlborg
Copy link
Owner

I just picked an order. Actually, the order which is most common in the DMD code base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants