"Trass3r" <u...@known.com> wrote in message news:op.vyevsfd03ncmek@enigma...
> The builtin .sort property doesn't work so far: Error: _adSort cannot be 
> interpreted at compile time, because it has no available source code
>
> algorithm's sort does neither: dmd: interpret.c:2680: Expression* 
> BinExp::interpretAssignCommon(InterState*, CtfeGoal, Expression* 
> (*)(Type*, Expression*, Expression*), int): Assertion `(newval->op == 
> TOKarrayliteral || newval->op == TOKassocarrayliteral || newval->op == 
> TOKstring || newval->op == TOKslice || newval->op == TOKnull)' failed.
>
> Any plans to support sorting?

.sort will probably be going away.
std.algorithm.sort will likely work in ctfe by dmd 2.055 


Reply via email to