From: "David Nadlinger" <[email protected]>
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...

_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to