"dead code elimination" (-dce full)
eliasku opened this issue · comments
Elias Ku commented
I've tried to compile Ash with "-dce full" option (flash target):
Argument count mismatch on ash.core::ComponentMatchingFamily()
I've added @:keep meta to ComponentMatchingFamily, but exceptions is still here:
TypeError: Error #1006: _getComponents is not a function.
at ash.core::ComponentMatchingFamily/init()
at ash.core::ComponentMatchingFamily()
I haven't learned the macro magic yet, but guess there is a way to add keep meta to generated code.