Re: Any plans to support .sort in CTFE?

2011-07-10 Thread dsimcha
On 7/10/2011 12:22 PM, Trass3r wrote: 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*, CtfeGoa

Re: Any plans to support .sort in CTFE?

2011-07-10 Thread Daniel Murphy
"Trass3r" 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::interpretA

Re: Any plans to support .sort in CTFE?

2011-07-10 Thread bearophile
Trass3r: > The builtin .sort property doesn't work so far: Error: _adSort cannot be > interpreted at compile time, because it has no available source code I think .sort is going to be deprecated. (The abilities of CTFE are growing, why don't you write a small CT sort for your purpose?) Bye,

Any plans to support .sort in CTFE?

2011-07-10 Thread Trass3r
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*, Express