https://d.puremagic.com/issues/show_bug.cgi?id=8735



--- Comment #10 from Andrej Mitrovic <[email protected]> 2013-11-14 
10:29:55 PST ---
(In reply to comment #6)
> This is not a bug. AliasThisDeclaration only accepts an "Identifier" as the
> forwarding target.
> 
> http://dlang.org/declaration
> AliasThisDeclaration:
>     alias Identifier this
> 
> So it is invalid bug, or may be filed as an enhancement separately.

That's an unnecessary limitation. If you can do:

    alias test!"*" x;
    alias x this;

Then you should be able to do the same in one line.

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

Reply via email to