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/27 11:03:51 UTC

[GitHub] [royale-asjs] besa2042 opened a new issue #425: Type warnings on inner class getter/setters if inner class type involved

besa2042 opened a new issue #425: Type warnings on inner class getter/setters if inner class type involved
URL: https://github.com/apache/royale-asjs/issues/425
 
 
   There are typedef warnings on inner class getter/setter methods whenm the type of inner class is involved:
   ```
   package
   {
       public class A 
       {
       }
   }
   
   class B
   {
      public function get b():B
   }
   ```
   _WARNING - Type annotation references non-existent type B._
   
   The js type annotation is `@type {B}`.
   
   When converting the getter method to a normal method 
   
   `public function getB():B` 
   
   the js param type is `@param {A.B}` and the warning is gone.

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