spencersalazar / chuck

28 stars 8 forks source link

Segmentation fault: StkInstrument #2

Open spencersalazar opened 11 years ago

spencersalazar commented 11 years ago

The following code fails with a segmentation fault:

StkInstrument u => blackhole;
1::samp => now;
u =< blackhole;
null @=> u;

likely because StkInstrument is an abstract base class.

briansorahan commented 10 years ago

This issue and #1 seem to be two symptoms of the same cause, which is that chuck does a bad job of handling compile-time failures when trying to instantiate stk abc's (Instrmnt in this case, and Filter for #1).