<br><div class="gmail_quote">On Fri, Sep 23, 2011 at 3:15 AM, Alan Jeffrey <span dir="ltr"><<a href="mailto:ajeffrey@bell-labs.com">ajeffrey@bell-labs.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks for the pointer.<br>
<br>
Is there any way to recreate the dropped arguments? I don't fancy having to document in the FFI interface that the compliler may sometimes drop arguments based on projection analysis.</blockquote><div><br></div><div>
The reason why they are dropped is that (a) they're not used and (b) that they can be recovered from the type of the first proper argument. An optimised js implementation of the function shouldn't really look at these arguments so it should be safe to just insert dummy values for the dropped arguments.</div>
<div><br></div><div>/ Ulf</div></div>