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 2019/12/31 08:33:45 UTC
[GitHub] [royale-asjs] Harbs edited a comment on issue #641: Fix PAYG
violations and code debt
Harbs edited a comment on issue #641: Fix PAYG violations and code debt
URL: https://github.com/apache/royale-asjs/issues/641#issuecomment-569888514
I got it to work by doing the following:
1. Removed `@export` on `removeElement` from `Application`, `GroupBase`, `IParent` and `UIBase`.
2. Removed the Reflection data from all of those files manually.
Doing so removed the `removeElement` code completely from the compiled app.
Both of these steps were required. If the reflection data was left in _any_ of those files, dead code removal was not enabled. There's clearly something about the the reflection data which is preventing code removal. What's also interesting is that if `@export` was left in in _any_ of the above classes, the function code for _all_ of them was not removed. I'm not sure why this is.
----------------------------------------------------------------
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
With regards,
Apache Git Services