*sigh*

kenji hara k.hara.pg at gmail.com
Tue Dec 27 09:26:37 PST 2011


I've posted a patch to fix the bug.
https://github.com/D-Programming-Language/dmd/pull/587

Please wait until be merged it.
(But I don't know when it will be done.)

Kenji Hara

2011/12/28 Caligo <iteronvexor at gmail.com>:
>
>
> On Tue, Dec 27, 2011 at 9:10 AM, Adam D. Ruppe <destructionator at gmail.com>
> wrote:
>>
>> On Tuesday, 27 December 2011 at 08:59:33 UTC, Caligo wrote:
>>>
>>> But, I found the bug!
>>
>>
>> I'm pretty sure that's the same bug I hit over the weekend,
>> but couldn't get isolated.
>>
>> In my case, it was caused by one of the parameters being
>> of type __error__ which isn't handled in the totym() switch.
>
>
> I think DMD should just give error and refuse to compile: "Error: expression
> (b1 - b2).fun() is void and has no value"
>
>
> http://d.puremagic.com/issues/show_bug.cgi?id=7173


More information about the Digitalmars-d mailing list