Large (>32 byte) concurrency messages

David Nadlinger code at klickverbot.at
Thu Aug 8 14:08:33 PDT 2013


On Thursday, 8 August 2013 at 20:08:11 UTC, JR wrote:
> Passing by value, e.g. tid.send(eventStruct);
>>core.exception.AssertError@/usr/include/d/4.8/std/variant.d(280): 
>>target must be non-null

http://d.puremagic.com/issues/show_bug.cgi?id=9122, should be 
fixed now.

> Passing by immutable, e.g. tid.send(cast(immutable) 
> eventStruct);
>>/usr/include/d/4.8/std/variant.d:552: Error: cannot modify 
>>immutable expression *p
>>/usr/include/d/4.8/std/concurrency.d:111: Error: template 
>>instance 
>>std.variant.VariantN!(32LU).VariantN.opAssign!(immutable(IrcEvent)) 
>>error instantiating

http://d.puremagic.com/issues/show_bug.cgi?id=10740

David


More information about the Digitalmars-d-learn mailing list