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

--- Comment #2 from bearophile_h...@eml.cc ---
import std.algorithm: remove;
auto a = [1];
void main() @nogc {
    a = a.remove(0);
}


dmd 2.067alpha:

test.d(4,17): Error: @nogc function 'D main' cannot call non-@nogc function
'std.algorithm.remove!(cast(SwapStrategy)2, int[], int).remove'

--

Reply via email to