Harbs commented on issue #203:
URL: https://github.com/apache/royale-compiler/issues/203#issuecomment-997283399


   Another one:
   
   ```
   var childrenList:XMLList = range.children();
   var childLen:int = childrenList.length();
   for(j=0;j<childLen;j++){
        var name:QName = childrenList[j].name();
   }
   ```
   
   compiles to:
   
   ```
   var /** @type {XMLList} */ childrenList = range.children();
   var /** @type {number} */ childLen = childrenList.length();
   for (j = 0; j < childLen; j++) {
        var /** @type {QName} */ name = childrenList[j]["name"]();
   }
   ```
   (`name` should not be in quotes)


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to