I use a dynamic var to call a custom Destructor of 2 different classes (some kind of GameState managing).
dce=full does fail on the Destructor call.
I tried to put “@keep” in all the places(class/function/var) but it doesnt work.
You should be able to @:keep classes, or @:keepSub to also keep classes that extend your class. Maybe it’s failing on another method your destructor calls as well?