Comment #0 by bearophile_hugs — 2014-06-19T14:33:21Z
void main() @safe {
import std.algorithm;
auto r = [1].sort().release;
}
dmd 2.066alpha gives:
temp.d(3): Error: safe function 'D main' cannot call system function 'std.range.SortedRange!(int[],
"a < b").SortedRange.release'