Issue ID: 18601
Summary: alias m = __traits(getMember, ...) doesn't work
It's annoying that this doesn't work:
alias m = __traits(getMember, s, "x");
> Error: basic type expected, not `__traits`
> Error: semicolon expected to close `alias` declaration
I'm pretty sure this could be trivially supported...?
I feel like that __traits statement should be semantically identical to:
alias m = s.x;
The __traits(getMember) docs make you feel like that's true...