[chuck-users] shred references (bug?)

eduard aylon eduard.aylon at gmail.com
Sun Oct 12 17:38:24 EDT 2008

Hi kas and mike,

I run mike's chuck patch and didn't get a bus error... but did get it  
with kassen's code. However I could get rid of the error if the shred  
is declared but not "initilised", thus using a reference when  
declaring it. I think that's been always the case..., can't remember  
So adding Shred @ foo; to kassen's code let's assign to shred later.
The resulting code would be:

fun void dummy()
         second => now;

Shred @ foo;

spork ~ dummy() @=> foo;
<<< foo.id()>>>;

hour => now;


On Oct 12, 2008, at 11:25 PM, Kassen wrote:

> Mike,
> I'm glad it's the same bug cross platforms, I just think it's a weird
> bug, that's all.
> Yeah, it's probably the garbage/reference stuff. I had no idea the  
> problem was quite that bad.
> Do I add to the bottom of the bugs page or the top?
> I'd take the "hopefully fixed for the next release" page and  
> somewhere in the "open" section? I think it's a pretty bad one, it  
> must've been broken by the latest version.
> Kas.
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20081012/95e50fa1/attachment.htm>

More information about the chuck-users mailing list