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

Add pure/const/@nogc/nothrow attributes #61

Open
araspik opened this issue Sep 8, 2018 · 1 comment
Open

Add pure/const/@nogc/nothrow attributes #61

araspik opened this issue Sep 8, 2018 · 1 comment

Comments

@araspik
Copy link

araspik commented Sep 8, 2018

Stuff like sdlang.ast.Tag.parent, which are @property, can generally also have pure, nothrow, @nogc, and const. Please consider adding these attributes globally so that others can use them too!

@ZILtoid1991
Copy link
Contributor

I'm already on this. Currently purity is hard to achieve thanks to dependencies not being updated for years, and often due to similar reasons, I've to resort to @trusted instead of @safe. Currently I'm dealing with some issues from unittest, but that might be something that was always there (how is the lexing of floating point numbers?).

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

No branches or pull requests

2 participants