We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 986fee5 commit 56f833dCopy full SHA for 56f833d
1 file changed
source/tt/binary/helpers.d
@@ -71,7 +71,7 @@ auto StructExecuter(alias _expr, D, S, P, R)(ref D CUR, ref S STRUCT, ref P PARE
71
72
foreach(name; __traits(allMembers, T))
73
{
74
- static if(__traits(getProtection, mixin(`T.` ~ name)) == `public`)
+ static if(__traits(getProtection, __traits(getMember, T, name)) == `public`)
75
76
alias E = Alias!(__traits(getMember, T, name));
77
0 commit comments