diff options
author | Pierre Boutillier <pierre.boutillier@ens-lyon.org> | 2015-06-22 11:49:58 +0200 |
---|---|---|
committer | Pierre Boutillier <pierre.boutillier@ens-lyon.org> | 2015-06-22 11:49:58 +0200 |
commit | 6bec099f8487b9d3ec5c44079cf69d3474c73b91 (patch) | |
tree | b23d8983fa887cc7e7255df455c64d5d54130787 /theories | |
parent | 07e8eede6670a256a81d9d70133ebbeb64f45fe3 (diff) | |
parent | 949d027ce8fa94b5c62f938b58c3f85d015b177b (diff) |
Merge remote-tracking branch 'forge/v8.5'
Diffstat (limited to 'theories')
-rw-r--r-- | theories/Program/Tactics.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theories/Program/Tactics.v b/theories/Program/Tactics.v index 0cf8d7337..c1d958b9d 100644 --- a/theories/Program/Tactics.v +++ b/theories/Program/Tactics.v @@ -41,7 +41,7 @@ Ltac do_nat n tac := (** Do something on the last hypothesis, or fail *) Ltac on_last_hyp tac := - match goal with [ H : _ |- _ ] => first [ tac H | fail 1 ] end. + lazymatch goal with [ H : _ |- _ ] => tac H end. (** Destructs one pair, without care regarding naming. *) |