Fix promotion in a const when projections are present
#65728
Merged
const when projections are present
#65728