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 2019/01/19 07:23:49 UTC

[GitHub] aharui commented on issue #384: Cannot find Vector. methods

aharui commented on issue #384: Cannot find Vector.<T> methods
URL: https://github.com/apache/royale-asjs/issues/384#issuecomment-455756940
 
 
   Vector transpiles to be Array (without any actual type-checking).  JavaScript's Array does not support insertAt/removeAt.  Royale's transpiler has some code that attempts to handle it, but only for Array and not for Vector.  I saw that the insertAt tests are disabled as well, so looks like there is more work needed there.
   
   I don't know if you can hack Array's prototype in the browser, but if you can, you can try to workaround the problem by adding insertAt/removeAt to Array.

----------------------------------------------------------------
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