[chuck-users] Object array initialization

Ge Wang gewang at CS.Princeton.EDU
Sat Jul 15 21:40:32 EDT 2006


Hi Joerg,

> i was trying to reproduce the error and was not quite successful.
> but i run into the following problem:
> i am @=>ing a new object to an array and then trying to spork a member  
> function of that object array.

sporking non-static member functions is another known bug.  It causes  
incorrect behavior.  Here is a workaround:

      
https://lists.cs.princeton.edu/pipermail/chuck-users/2006-June/ 
000714.html

It's not pretty, but it's one way to essentially spork a member  
function.  Sorry about all the egregious hacks.  We are onto these bugs  
and will (ex)terminate them!

Best
Ge!



More information about the chuck-users mailing list