[Issue 2779] alias this + tuple expansion on function call doesn't work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 22 10:13:33 PDT 2011


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


Jacob Carlborg <doob at me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doob at me.com


--- Comment #9 from Jacob Carlborg <doob at me.com> 2011-07-22 10:13:28 PDT ---
I don't see why you would want to treat alias this with a tuple different from
a "regular" alias this. Why do we have alias this at all?

struct Foo
{
    int value;
}

void bar (int i );

Foo foo;

bar(foo.value);

We have alias this JUST so we don't have to write ".value" in the above
example.

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