Harbs commented on issue #641: Fix PAYG violations and code debt
URL: https://github.com/apache/royale-asjs/issues/641#issuecomment-569874087
 
 
   It's definitely supposed to do dead code removal of prototype methods, but 
in practice, it isn't doing so in HelloWorld (or my own app AFAICT).
   
   I initially suspected there was something about the structure of the 
reflection data, and I tried many different things there. I started suspecting 
that something else was going on, so I removed `@export` on all `removeElement` 
methods in the JS files. `removeElement` is not used anywhere in the app, so 
theoretically getting rid of `@export` on those methods should have made the 
dead code removal effective on those methods. Removing `@export` had no effect.
   
   Like I said, I edited the JS files. To minify, I used VSCode to do a release 
build without first cleaning the project, so the modified JS files should be 
the ones being used.
   
   I hope this info is useful to someone else, because I don't know where to 
look at this point...

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to