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/05/22 10:50:40 UTC

[GitHub] [royale-asjs] besa2042 opened a new issue #424: Vector compiler warnings on getter methods

besa2042 opened a new issue #424: Vector compiler warnings on getter methods
URL: https://github.com/apache/royale-asjs/issues/424
 
 
   I always get the following warning
   
   _WARNING - Type annotation references non-existent type Vector.
     \* @type {Vector.<string>} */_
   
   when compiling a getter method with a Vector return type,
   
   `function get vector():Vector.<String>`
   
   The js output type annotation is   `@type {Vector.<string>}`.
   
   When I change the getter to a normal method it compiles without warning,
   
   `function vector():Vector.<String>`
   
   here the js type annotation is   `@type {Array}`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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