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/06/10 19:27:36 UTC

[GitHub] [royale-compiler] brianraymes opened a new issue #186: Invalid Syntax Succeeds in Compilation, but Doesn't Load at Runtime

brianraymes opened a new issue #186:
URL: https://github.com/apache/royale-compiler/issues/186


   I've been finding random compilation issues that should be invalid, but seem to succeed.
   
   **Steps to Reproduce**
   
   Accidentally added two dots in a binding within MXML. In my case, I performed a refactor that mistakenly left two dots; an easy mistake to make.
   
   ```
   "{someObject..someValue}"
   ```
   
   **Expected Results**
   
   Compilation should fail, or at least throw a warning.
   
   **Actual Results**
   
   Compiles successfully, but the resulting debug JS file is not usable at runtime without any warning or error. I'm not sure if it's failing to load, or some other issue.
   
   **Workaround**
   
   None that I know of at this time.
   
   **Comments**
   
   A mistake like this is likely an edge case, but is an easy mistake to make. The cost of running into it was rather large as it was hard to track down and took significant time to find/fix as there are no errors.
   
   FYI, I am using `vscode-as3mxml`. I'm not sure if that is relevant or not with issue.


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



[GitHub] [royale-compiler] greg-dove commented on issue #186: Invalid Syntax Succeeds in Compilation, but Doesn't Load at Runtime

Posted by GitBox <gi...@apache.org>.
greg-dove commented on issue #186:
URL: https://github.com/apache/royale-compiler/issues/186#issuecomment-863721441


   I can try to look into this next week.
   


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