<div dir="ltr"><div dir="ltr">On Fri, Apr 24, 2020 at 12:05 AM Manu <<a href="mailto:turkeyman@gmail.com">turkeyman@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Fri, Apr 24, 2020 at 12:00 AM Stefan Koch via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thursday, 23 April 2020 at 13:48:54 UTC, Steven Schveighoffer <br>
wrote:<br>
><br>
> These kinds of puzzles are fun ;)<br>
><br>
<br>
yeah no.<br>
<br>
It's not fun if you have to make sure the rewrite is what people <br>
expect.<br>
<br>
Foo!(AliasSeq(1,2)...)... will expand to Compiler_Tuple(Foo!(1), <br>
Foo!(2))</blockquote><div><br></div><div>I don't think that's true according to the current implementation.</div><div>It will try and expand the expression `AliasSeq!(1, 2)`. there are no tuples in that expression, and no expansion will take place.</div></div></div></blockquote><div><br></div><div>Oh no, I'm wrong. I think we have a bug there...</div><div>I don't think that should work that way, and I can see why it does; it's because our code sees the template argument as a tuple identifier to expand, and not as the expression being supplied.</div><div>I think semantic is being called eagerly somewhere that it shouldn't...</div></div></div>