spencersalazar / chuck

28 stars 8 forks source link

Shred.running() #36

Open briansorahan opened 10 years ago

briansorahan commented 10 years ago

This code does not do what I would expect:

function void foo() {
    Event bar;
    bar => now;
}

spork ~ foo() @=> Shred @ s;

1::ms => now;
if (! s.running()) {
    cherr <= "Oh no!!" <= IO.newline();
}

This may be a very minor bug because Shred.done() seems to work as I would expect.