[phobos] Broken DMD Download Link

Daniel Murphy yebblies at gmail.com
Thu Aug 16 10:47:14 PDT 2012


Guess:
>> (Signal) {--nprod;},
should be
>> (Signal sig) {--nprod;},


On Fri, Aug 17, 2012 at 3:15 AM, Andrei Alexandrescu <andrei at erdani.com> wrote:
> +Phobos
>
> Anyone has an insight into what's happening?
>
>
> Thanks,
>
> Andrei
>
> On 8/16/12 1:08 PM, Chuck Allison wrote:
>>
>> I hate to do this to you Andrei, but I just installed 2.060 and some
>> code broke - using std.concurrency.receive. I checked the doc and it
>> does't look like anything changed. It says it can't instantiate the
>> receive template for the following, which looks like what is currently
>> in the dove:
>>
>> while (nprod > 0) {
>> receive(
>> (int n) {queue.push_back(n);},
>> (Signal) {--nprod;},
>> (Tid tid) {tid.send(queue.pop_front());}
>> );
>> }
>>
>> Fails on the first delegate above. Was there a major change in
>> std.concurrency?
>>
>> Here's the error:
>>
>> prodcons.d(27): Error: template std.concurrency.receive does not match
>> any function template declaration
>> /usr/share/dmd/src/phobos/std/concurrency.d(542): Error: template
>> std.concurrency.receive(T...) cannot deduce template function from
>> argument types !()(void delegate(int n) @system,void,void delegate(Tid
>> tid) @system) prodcons.d(58): Error: template std.concurrency.receive
>> does not match any function template declaration
>> /usr/share/dmd/src/phobos/std/concurrency.d(542): Error: template
>> std.concurrency.receive(T...) cannot deduce template function from
>> argument types !()(void delegate(int n) @system,void)
>>
>> -- Chuck
>>
>> On Aug 16, 2012, at 10:26 AM, Andrei Alexandrescu wrote:
>>
>>> Just uploaded the installer, apologies for this blunder.
>>>
>>> Andrei
>>>
>>> On 8/15/12 1:48 PM, Charles Allison wrote:
>>>>
>>>> Hello Gentlemen:
>>>>
>>>> I thought you'd like to now that the link for downloading the OS X
>>>> installer for 2.060 at http://dlang.org/download.html is broken! I
>>>> really prefer the dmg installer over unzipping and tweaking the
>>>> environment, which I'll do if I have to.
>>>>
>>>> -- Chuck
>>
>>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list