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

--- Comment #1 from Dragos Carp <[email protected]> ---
T foo(T)(T a1, T a2)
{
    return a1 ~ a2;
}

void main()
{
    int[] a = [1, 2];
    assert(foo(a, []) == [1, 2]);
}

This code (non array template types) works with 2.066.0-b6 and generates the
previous described compile error with 2.065.

--

Reply via email to