[dmd-beta] D 2.059 beta 4

Nick Sabalausky bus_dmdbeta at semitwist.com
Mon Apr 9 15:02:41 PDT 2012


From: "David Nadlinger" <code at klickverbot.at>
> On 9 Apr 2012, at 21:18, Nick Sabalausky wrote:
>> I'm getting an ICE as a regression:
>>
>> mtype.c:4472: StructDeclaration* TypeAArray::getImpl(): Assertion `impl' 
>> failed.
>>
>> DustMite-int it now...
>
> Try directly instantiating the AssociativeArray template – this way you 
> should be able to see the underlying error message.
>

Thanks. At one point, it's trying to pass a const(MyStruct) to 
MyStruct.opEquals, and I forgot to keep the const overload when 2.059 is 
detected (ATM I only have the the new non-const non-ref opEquals when 2.059 
is detected). So that's why I'm not getting that ICE in 2.058.

I'm not going to end up *also* needing "const non-ref" and/or "non-const 
ref" versions too, am I? I think my brain's turning to mud now...



More information about the dmd-beta mailing list