add @constprop
for compatibility to 1.7
#42298
Merged
@constprop
for compatibility to 1.7
#42298