Any plans to support .sort in CTFE?

Trass3r un at known.com
Sun Jul 10 09:22:53 PDT 2011


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?


More information about the Digitalmars-d mailing list