[Issue 6842] Can't use alias of instance member

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 23 01:11:43 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6842


timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timon.gehr at gmx.ch


--- Comment #2 from timon.gehr at gmx.ch 2011-10-23 01:10:41 PDT ---
(In reply to comment #1)
> This is an enhancement, not "rejects-valid".
> Because foo.a is an expression, and it is neither type nor symbol.
> 
> http://d-programming-language.org/declaration.html
> AliasDeclaration allows type or symbol as the first argument.

If foo.a is not a symbol, why does alias foo.a b; compile without an error?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list