aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorHugo Herbelin2015-12-05 00:14:37 +0100
committerHugo Herbelin2015-12-05 00:58:19 +0100
commit387351b4c0ffeff65d8a7192f5073cfd4bd20f53 (patch)
treed4a40c40d0f5c4db29be160f3ede1baeb3649e2b /test-suite
parentcbceffe424a6b4477eb822f3887776b587503cbd (diff)
Changing "destruct !hyp" into "destruct (hyp)" (and similarly for induction)
based on a suggestion of Guillaume M. (done like this in ssreflect). This is actually consistent with the hack of using "destruct (1)" to mean the term 1 by opposition to the use of "destruct 1" to mean the first non-dependent hypothesis of the goal.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/success/destruct.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-suite/success/destruct.v b/test-suite/success/destruct.v
index 59cd25cd76..9f091e3996 100644
--- a/test-suite/success/destruct.v
+++ b/test-suite/success/destruct.v
@@ -389,7 +389,7 @@ Abort.
Goal forall b:bool, True.
intro b.
-destruct !b.
+destruct (b).
clear b. (* b has to be here *)
Abort.