Re: [Jastadd] fullCopy() och parent

From: Jesper Öqvist <jesper.oqvist_at_cs.lth.se>
Date: Thu, 01 Mar 2012 16:58:48 +0100

A fix for this has been pushed to SVN in revision 726.

/Jesper

On 11/10/2011 04:06 PM, Görel Hedin wrote:
> Hi Jesper M.,
>
> We'd better keep the conversation on the mailing list in English.
>
> So, in some previous version of JastAdd, fullCopy() returned a node
> which has the parent null. But in the current version, the copy has
> the same parent as the original node. The question is if this is a bug
> or a feature.
>
> It looks like a bug to me. I know Jesper Öqvist has complained about
> this before, and the bug has been around for quite a while. I have now
> added a ticket for this on the trac. If anyone thinks this is a
> feature rather than a bug, please let us know asap.
>
> Cheers
> Görel
>
> 10 nov 2011 kl. 13.38 skrev Jesper Mattsson:
>
>> Hej
>> Jag noterade att i den versionen av JastAdd vi använder nu så
>> returnerar fullCopy() en nod med parent satt till samma som
>> orginalets. I den versionen vi använde innan returnerades en nod där
>> parent var null.
>> Finns det någon anledning till den förändringen, eller är det bara en
>> bugg?
>> Jesper
>> *Jesper MATTSSON, MSc*
>> Software Developer & IT Administrator
>>
>> Phone direct: +46 73 324 5909
>> Email:jesper.mattsson_at_modelon.com <mailto:jesper.mattsson_at_modelon.com>
>>
>> <image001.png>
>> ------------------------------------------------------------------------
>> Modelon AB
>> Ideon Science Park
>> SE-223 70 Lund, Sweden
>>
>> Phone: +46 46 286 2200
>> Fax: +46 46 286 2201
>>
>>
>> Web:http://www.modelon.com <http://www.modelon.com/>
>>
>> _______________________________________________
>> JastAdd mailing list
>> JastAdd_at_cs.lth.se <mailto:JastAdd_at_cs.lth.se>
>> https://mail1.cs.lth.se/cgi-bin/mailman/listinfo/jastadd
>
>
> _______________________________________________
> JastAdd mailing list
> JastAdd_at_cs.lth.se
> https://mail1.cs.lth.se/cgi-bin/mailman/listinfo/jastadd
Received on Thu Mar 01 2012 - 16:58:45 CET

This archive was generated by hypermail 2.3.0 : Wed Apr 16 2014 - 17:19:06 CEST