You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2017/11/21 16:48:45 UTC

[GitHub] Harbs opened a new issue #19: No error when calling non-existent super method

Harbs opened a new issue #19: No error when calling non-existent super method
URL: https://github.com/apache/royale-compiler/issues/19
 
 
   I just discovered a bug in my code where I was calling `super.swapElementsAt(fIdx,npIdx);` `swapElementsAt()` was only defined in the class and not the super-class. The code compiled without errors and only failed when the code: `superClass_.swapElementsAt.apply(this, [ fIdx, npIdx] );` was run and produced a RTE of `TypeError: Cannot read property 'apply' of undefined`
   
   I need to include a test case to reproduce this, but I wanted to capture the issue before I forget.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services