I dun a DIP, possibly the best DIP ever

Manu turkeyman at gmail.com
Thu Apr 23 14:05:43 UTC 2020


On Fri, Apr 24, 2020 at 12:00 AM Stefan Koch via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On Thursday, 23 April 2020 at 13:48:54 UTC, Steven Schveighoffer
> wrote:
> >
> > These kinds of puzzles are fun ;)
> >
>
> yeah no.
>
> It's not fun if you have to make sure the rewrite is what people
> expect.
>
> Foo!(AliasSeq(1,2)...)... will expand to Compiler_Tuple(Foo!(1),
> Foo!(2))


I don't think that's true according to the current implementation.
It will try and expand the expression `AliasSeq!(1, 2)`. there are no
tuples in that expression, and no expansion will take place.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20200424/508b8a1e/attachment.htm>


More information about the Digitalmars-d mailing list