We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The new isRWField doesn't work if the member string refers to an alias. For example:
struct S { alias foo = float; } pragma(msg, isRWField!(S, "foo"));
source\vibe\internal\meta\traits.d(238): Error: argument float has no protection
It's the __traits(getProtection, MEM) in isPublicMember that blows up. I'm looking for a fix.
__traits(getProtection, MEM)
The text was updated successfully, but these errors were encountered:
Done. I'll create a PR soon.
Sorry, something went wrong.
92b600f
Merge pull request #819 from ReneZwanenburg/isRWField-alias-fix
f02492c
Detect type aliases in isRWField. Fixes #818.
No branches or pull requests
The new isRWField doesn't work if the member string refers to an alias. For example:
It's the
__traits(getProtection, MEM)
in isPublicMember that blows up. I'm looking for a fix.The text was updated successfully, but these errors were encountered: