lean4-htt/tests/lean/run/4773.lean
Leonardo de Moura be717f03ef
fix: missing assignment validation at closeMainGoal (#4777)
This primitive is used by the `exact` tactic. This issue allowed users
to create loops in the metavariable assignment.

closes #4773
2024-07-17 18:25:02 +00:00

11 lines
205 B
Text

/--
error: tactic 'exact' failed, attempting to close the goal using
?loop
this is often due occurs-check failure
case loop
⊢ False
-/
#guard_msgs in
example : False := by
refine ?loop
exact ?loop