https://issues.dlang.org/show_bug.cgi?id=21258

--- Comment #1 from Richard Manthorpe <[email protected]> ---
It's even more fun if you try it with different types:

alias AliasSeq(TList...) = TList;

auto foo(AliasSeq!(int, string) args = AliasSeq!(3, "hello"))
{
    return args[0] * args[1].length;
}

static assert(foo() == 15); // Error: cannot implicitly convert expression 3 of
type int to string

--

Reply via email to