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 2021/02/16 19:46:34 UTC

[GitHub] [royale-compiler] Laturine commented on issue #179: Successful ActionScript compiled with Javascript errors

Laturine commented on issue #179:
URL: https://github.com/apache/royale-compiler/issues/179#issuecomment-780075944


   After making changes to the actionscript to make the javascript not have errors during compilation I was met with more errors. Seems to be NOT consuming the left paren, and it might be what's causing the above error.
   
   I apologize if I should have opened a new issue. My assumption was these might be related, but I'm probably wrong.
   
   Actionscript
   ```actionscript
   var foo: Date;
   if ((foo.month).toString() === "")
   ```
   Javascript output
   ```javascript
   if ((foo.getMonth().toString() === "")
   ```
   Incorrect number of parens


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