Descent 0.5.4 released
Ary Borenszweig
ary at esperanto.org.ar
Fri Jan 30 02:37:46 PST 2009
Robert Fraser escribió:
> Jason House wrote:
>> I have no great example handy, but I tried doing the equivalent of
>> this example (dmd 2.022):
>>
>> import std.algorithm;
>> void main(){
>> auto x = sort!("a<b")([2,3,5,4]);
>> }
>>
>> Sadly, nothing happens with the ctrl+shift+hover trick. The compile
>> time view reports it as missing. I checked the user libraries to make
>> sure it was ok. I have two: druntime and phobos. The phobos path
>> displays as usr/local/src/phobos (I navigated to /usr/local/src/phobos
>> through the gui to select it). I see the std subdirectory and
>> algorithm.d inside of it. I don't know what is going wrong with
>> finding the import.
>>
>> sort is really a wrapper around sortImpl, which has two bodies inside
>> a static if. It's trivial to figure out which one is used, but it'd
>> be nice to have a way to see what was really done without all the
>> static if's.
>
> I think D2 support is weak in Descent; so that's likely the problem.
Yes, that's it. The port of DMD2 is not finished and that's why it might
not work (like: it's a miracle if it works :-P)
More information about the Digitalmars-d-announce
mailing list