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

--- Comment #1 from bearophile_h...@eml.cc ---
This is a less easy case to support, because the slice length is known at
compile-time to be > 0, but a slicing generates a dynamic array:


void main() pure nothrow @safe @nogc {
    import std.algorithm: reduce, min;
    int[10] arr;
    reduce!min(arr[0 .. 5]);
}

--

Reply via email to