3 Mar
2008
3 Mar
'08
2:27 p.m.
Kassen
Fellow ChucKists.
This has a issue (class 'Trigger' has no member 'broadcast');
=====================- Trigger trig; trig.broadcast();
class Trigger extends Event { int target; } ======================
Yet this is fine;
=================- class Trigger extends Event { int target; }
Trigger trig; trig.broadcast(); =================
This is quite odd. In general defining classes at the bottom of the file is ok these days, the problem seems to be in extending Event. I believe this to be wrong and will add it to the WiKi's list of bugs.
I have run into other instances of this problem but haven't been keeping track of them. I will do so on the wiki in the future. michael