fix: missing assignment validation at `closeMainGoal` This primitive is used by the `exact` tactic. This issue allowed users to create loops in the metavariable assignment. closes #4773
This is the repository for Lean 4.
See Setting Up Lean.
Please read our Contribution Guidelines first.
See Building Lean (documentation source: doc/make/index.md).