[Issue 16123] alias member of member

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jun 6 10:28:44 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16123

--- Comment #4 from Steven Schveighoffer <schveiguy at yahoo.com> ---
I'm having trouble seeing how this logically is different. Access to t.s.x is
done by adding some offset to &t, just like access to s.x is done by adding
some offset to &s.

I get that the "symbol" I'm trying to alias is really a compound symbol, but I
can alias it just fine in other places.

This reminds me of the whole inability to alias keywords. It's an
implementation detail that I shouldn't have to care about!

--


More information about the Digitalmars-d-bugs mailing list