[Issue 9569] 'alias this' syntax is not accepted by dmd

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 23 14:00:43 PST 2013


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


Michael <pr at m1xa.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pr at m1xa.com


--- Comment #4 from Michael <pr at m1xa.com> 2013-02-23 14:00:38 PST ---
We have a one alias beast, so  now will have two beast... after month three
beast ... (period) ... nth beast. 

Bad idea.

Alias this used like class inheritance is bad idea too, because it's not a
class inheritance.

One syntax, one alias beast - it's good.

About multiple alias this:

alias this = ...;
alias this = ...;
...
alias this = ...;

It's good because many uses of alias this is not desirable (although allowed)
and people will think twice to use this feature.

And I think it's more demonstrable when I want to show what I was mean when put
it (alias this) into source code.

-- 
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