Created by: lemoinem
This applies #4229, which fixes #4228 (closed) but on all vars, not only on requiredVars and optionalVars.
This allows template overrides relying on another set of vars to work properly.
(For example, our templates rely on vars so we don't need req_var and opt_var templates)
PR checklist
-
Read the contribution guidelines. -
If contributing template-only or documentation-only changes which will change sample output, build the project before. -
File the PR against the correct branch: master,4.1.x,5.0.x. Default:master. -
Copy the technical committee to review the pull request if your PR is targeting a particular programming language. (/cc @jimschubert)