[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 11:21:22 PDT 2011


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



--- Comment #13 from Jacob Carlborg <doob at me.com> 2011-07-22 11:21:21 PDT ---
(In reply to comment #12)
> (In reply to comment #11)
> > Andrei: I don't see how it could be much different when matching one argument
> > and several.
> 
> I explained in my argument about this:
> 
> fun(t1, t2, t3, t4);
> 
> How do you suggest we handle that?

Depends on how the function is declared and what's passed to the function. If
the original type matches (i.e. the tuple) then don't expand the tuple. If the
tuple doesn't match then try to expand the tuple.

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