If such method is ONLY called via RTTI, the pas2js optimizer won't see this and will leave out this code.
1 Like
If such method is ONLY called via RTTI, the pas2js optimizer won't see this and will leave out this code.