From ec4894148b06f743522081714db12bc07bd3ef46 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Thu, 14 Sep 2017 11:18:26 +0200 Subject: Avoid extra failure in the "constructor" tactic (bug #5666). This changes the implementation of "constructor" from constructor 1 + ... + constructor n + fail to constructor 1 + ... + constructor n. --- test-suite/bugs/closed/5666.v | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test-suite/bugs/closed/5666.v (limited to 'test-suite') diff --git a/test-suite/bugs/closed/5666.v b/test-suite/bugs/closed/5666.v new file mode 100644 index 0000000000..d55a6e57b4 --- /dev/null +++ b/test-suite/bugs/closed/5666.v @@ -0,0 +1,4 @@ +Inductive foo := Foo : False -> foo. +Goal foo. +try (constructor ; fail 0). +Fail try (constructor ; fail 1). -- cgit v1.2.3