What happens to ranged promotions when the unit becomes melee?

Some upgrade paths transform a unit from a ranged one to a melee one - for example, a crossbowman normally upgrades to a rifleman. However, ranged units get different damage-increasing promotions from melee units.

What happens to those ranged-damage promotions in that case? Do they still apply, or are they completely wasted?


Solution 1:

The ranged combat specific promotions are wasted if the unit is upgraded to a melee unit.