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:
us...@infra.apache.org


Reply via email to