From 415c5a5a28ac7035cfa33e5753af841a450bfab0 Mon Sep 17 00:00:00 2001 From: Jacques-Henri Jourdan Date: Sat, 6 Jul 2019 16:16:20 +0200 Subject: Fix compatibility with Coq 8.10 (#303) The generation of some fresh names changes in Coq 8.10 (https://github.com/coq/coq/pull/9160). The `Hint Mode` declaration that does not specify a hint database now triggers a warning. Specify the intended database and fix the "auto" tactics accordingly. --- MenhirLib/Validator_safe.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MenhirLib/Validator_safe.v') diff --git a/MenhirLib/Validator_safe.v b/MenhirLib/Validator_safe.v index 2d2ea4b3..628d2009 100644 --- a/MenhirLib/Validator_safe.v +++ b/MenhirLib/Validator_safe.v @@ -184,8 +184,8 @@ Instance impl_is_state_valid_after_pop_is_validator state sl pl P b : IsValidator (state_valid_after_pop state sl pl -> P) (if is_state_valid_after_pop state sl pl then b else true). Proof. - destruct (is_state_valid_after_pop state0 sl pl) eqn:EQ. - - intros ??. auto using is_validator. + destruct (is_state_valid_after_pop _ sl pl) eqn:EQ. + - intros ???. by eapply is_validator. - intros _ _ Hsvap. exfalso. induction Hsvap=>//; [simpl in EQ; congruence|]. by destruct sl. Qed. -- cgit