77240e1b60
In View Engine, with fullTemplateTypeCheck mode disabled, the type of any inferred based on the entity being referenced. This is a bug, since the goal with fullTemplateTypeCheck: false is for Ivy and VE to be aligned in terms of type inference. This commit adds a 'checkTypeOfReference' flag in the TypeCheckingConfig to control this inference, and sets it to false when fullTemplateTypeCheck is disabled. PR Close #33261