aboutsummaryrefslogtreecommitdiff
path: root/theories
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-01-30 11:23:42 +0100
committerGitHub2019-01-30 11:23:42 +0100
commite35f5bb879b4697ff17daad1a2f0d76b71b8e2ca (patch)
treeff52de399b920d431391b2e1ee2dcb97c3ba450c /theories
parent8ccd3f911e6cd6fd0b8aea9604085420cd13070a (diff)
parent49155a0817234299c45d04a14bd834f44fbc391f (diff)
Merge pull request coq/ltac2#100 from JasonGross/fix-lazy-match-goal
Make lazy_match! goal actually lazy
Diffstat (limited to 'theories')
-rw-r--r--theories/Pattern.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/theories/Pattern.v b/theories/Pattern.v
index ff7776b682..8d1fb0cd8a 100644
--- a/theories/Pattern.v
+++ b/theories/Pattern.v
@@ -125,7 +125,7 @@ Ltac2 lazy_goal_match0 rev pats :=
in
Control.plus cur next
end in
- interp pats ().
+ Control.once (fun () => interp pats) ().
Ltac2 multi_goal_match0 rev pats :=
let rec interp m := match m with