joshtynjala commented on issue #203: URL: https://github.com/apache/royale-compiler/issues/203#issuecomment-998128446
> It looks like attributes need to be handled separately: I'm not able to reproduce this one. Here's my code: ```actionscript public var shape:XML; //later, in a method if([email protected]()){ } ``` I get this JS: ```js if (this.shape.child('rawXML').attribute('MyAttribute').length()) { } ``` Are you sure that `shape` is correctly typed as `XML` or `XMLList` in your code? > Another one: childrenList[j].name(); I can reproduce this one. The solution will be very similar. I'll commit the fix today. -- 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]
