src: prevent changing FunctionTemplateInfo
after publish
#46979
Merged
FunctionTemplateInfo
after publish
#46979