[Issue 8735] ICE: Assertion failure: 't' on line 100 in file 'aliasthis.c'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 14 10:29:57 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=8735
--- Comment #10 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list