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'
Works with the current compiler.