Orange lib help

Jacob Carlborg doob at me.com
Thu Mar 28 05:50:45 PDT 2013


On 2013-03-26 16:34, Dan wrote:
> Hi -
>
> I get some errors from this simple code:
>
> class Class_a {
>     double[2][2] ob;
> }
> class Class_b : Class_a { int obb;}
> Serializer.register!(Class_b);
>
> The error is:
> Error: variable
> orange.serialization.Serializer.Serializer.serializeArray!(inout(double[2LU][2LU])).serializeArray.__lambda2008.__aggr2839
> inout variables can only be declared inside inout functions
>
> I can't seem to find any answers in the documentation. Anybody could
> help me out?

There seems to be a design issue with "inout":

http://forum.dlang.org/thread/kj0vat$2o7e$1@digitalmars.com

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list