over ride method bug

Monkey Forums/Monkey Bug Reports/over ride method bug

slenkar(Posted 2013) [#1]
I have 2 different games one of them over rides the methods properly the other doesnt,(on all targets)

looking at the action script source, the super method in the malfunctioning game is like this

public function renderme:void(){
return;
}

in the game that works it looks like this
public function renderme:void(){
pushErr;
popErr;
}

So there has to be a bug that is causing this

in the malfunctioning game the super method is called only.

The source for both games is too long to post.


MikeHart(Posted 2013) [#2]
Did you switch versions and forgot to delete the build folder?


slenkar(Posted 2013) [#3]
oh yeah after deleting and recompiling they both say
popErr
pushErr
, looking at the actionscript source there doesnt seem to be anything wrong but the error still happens


slenkar(Posted 2013) [#4]
When I look at the source code the extended methods aren't there
So the parser must think they are unreachable