gnu smalltalk and deepCopy (I think)

classic Classic list List threaded Threaded
2 messages Options
Jimmy Johnson Jimmy Johnson
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

gnu smalltalk and deepCopy (I think)

I don't know where else to turn for help so...if one of you experts would have the time to look at this project and see if an obvious problem jumps out, and let me know, I would really appreciate it.  

The project is to write a rational number class and include units/dimensions (meters/length).  The system works fine in Squeak SmallTalk, but fails in gnu SmallTalk.  I'm guessing it has something to do with my use of deepClone.

Attached is a zip with three files.  A chunk file, a readme, and a file with output from execution using squeak.

Thanks again,

 JJJ
_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

st_files.zip (16K) Download Attachment
Paolo Bonzini-2 Paolo Bonzini-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: gnu smalltalk and deepCopy (I think)

On Fri, Nov 18, 2011 at 07:03, Jimmy Johnson <[hidden email]> wrote:
> I don't know where else to turn for help so...if one of you experts would have the time to look at this project and see if an obvious problem jumps out, and let me know, I would really appreciate it.
>
> The project is to write a rational number class and include units/dimensions (meters/length).  The system works fine in Squeak SmallTalk, but fails in gnu SmallTalk.  I'm guessing it has something to do with my use of deepClone.

I suppose this is a dup with the other thread?

Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
Loading...