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

Timothee Cour <timothee.co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.co...@gmail.com

--- Comment #1 from Timothee Cour <timothee.co...@gmail.com> ---
same problem with tuples

U[T.length] staticArray(U = CommonType!T, T...)(T a)
{
    return [a];
}

auto a = staticArray2!bute(1, 2);

Error: cannot implicitly convert expression [_param_0, _param_1] of type int[]
to byte[2]

--

Reply via email to