Dead Code Elimination (DCE) behavior during Haxe 4 production optimization
In Haxe 4, the Dead Code Elimination (DCE) pass is designed to remove unused code to reduce the final binary or script size. While local debug builds typically preserve most code paths for easier inspection, production builds utilize higher optimization levels that aggressively prune the AST. A challenge arises when code is accessed via dynamic reflection or