[Issue 16123] alias member of member
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jun 6 11:08:15 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16123
--- Comment #5 from Max Samukha <maxsamukha at gmail.com> ---
(In reply to Steven Schveighoffer from comment #4)
> 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.
I just say that what you are trying is not how 'alias' works, and the current
semantics does make sense. Whether it is good is a different issue.
>
> This reminds me of the whole inability to alias keywords. It's an
> implementation detail that I shouldn't have to care about!
Inability to alias keywords is a different issue.
--
More information about the Digitalmars-d-bugs
mailing list