7 Oct
2010
7 Oct
'10
9:37 a.m.
hi. I'm facing a weird issue with inheritance. here is a bit of code : http://pastebin.com/rGFx6pus I have a Handler class that defines a listen() method, and several classes inheriting from Handler. Then, when I try to call bpm.listen(orec) on line 10, it says "class BpmHandler has no member listen" - even though it should access the one from the Handler class. Any clue ? And by the way, I was wondering: Handler @ h; new BpmHandler @=> h; this won't work, even though it is legit from a OOP inheritance point of view. is it deliberate, or something on the todo list of the dev team ? cheers tom