https://issues.dlang.org/show_bug.cgi?id=15094
Eyal Lotem <eyal.lo...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eyal.lo...@gmail.com --- Comment #5 from Eyal Lotem <eyal.lo...@gmail.com> --- Even after applying the PR (https://github.com/D-Programming-Language/dmd/pull/5215): ``` struct S { int i; } S s; unittest { import std.meta : Alias; alias GetMember1 = Alias!(__traits(getMember, mixin(__MODULE__), "s")); alias GetMember2 = Alias!(__traits(getMember, GetMember1, "i")); alias GetMember3 = Alias!(__traits(getMember, __traits(getMember, mixin(__MODULE__), "s"), "i")); // Works: auto a1 = &GetMember1; // Fails: auto a2 = &GetMember2; // Fails: auto a3 = &GetMember3; // Works: auto a4 = &__traits(getMember, __traits(getMember, mixin(__MODULE__), "s"), "i"); } ``` fails (in a2, a3). --