<div class="gmail_quote">On 11 March 2012 15:35, Timon Gehr <span dir="ltr"><<a href="mailto:timon.gehr@gmx.ch">timon.gehr@gmx.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 03/11/2012 02:23 PM, Manu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 11 March 2012 14:56, Timon Gehr <<a href="mailto:timon.gehr@gmx.ch" target="_blank">timon.gehr@gmx.ch</a><div class="im"><br>
<mailto:<a href="mailto:timon.gehr@gmx.ch" target="_blank">timon.gehr@gmx.ch</a>>> wrote:<br>
<br>
    On 03/11/2012 12:50 PM, Manu wrote:<br>
<br>
        Nobody has acknowledged<br>
        or disputed the majority of my points :/<br>
<br>
<br>
    I agree with the majority of your points.<br>
<br>
<br>
Cool, well that's encouraging :)<br>
I can't really argue the implementation details, all I can do is assert<br>
criteria/requirements as I see them.<br>
<br>
So what was the perceived issue with the pull request you mentioned in<br>
an earlier post?<br>
</div></blockquote>
<br>
This is the pull request.<br>
<a href="https://github.com/D-Programming-Language/dmd/pull/341" target="_blank">https://github.com/D-<u></u>Programming-Language/dmd/pull/<u></u>341</a><br>
<br>
I think the issue with it is that there are no obvious issues with it.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I presume it only implemented the syntax, and not the<br>
ABI bits?<br>
<br>
</blockquote>
<br></div>
Exactly. It implements the assignment from built-in/library tuples to multiple newly declared variables, but it does not implement multiple return values.<br></blockquote><div><br></div><div>How does the syntax work precisely?</div>
<div>Is it possible to do each of those things I mentioned earlier; assign to existing locals, ignore individual return values, etc?</div><div><br></div><div>How would the language distinguish from this implementation of implicitly building/returning/unpacking a tuple, and from explicit intent to do so structurally? Does the syntax give the code generation enough information to distinguish multiple-return from struct byval?</div>
</div>