diff options
author | Jacques-Henri Jourdan <jacques-henri.jourdan@normalesup.org> | 2019-07-06 16:16:20 +0200 |
---|---|---|
committer | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2019-07-06 16:16:20 +0200 |
commit | 415c5a5a28ac7035cfa33e5753af841a450bfab0 (patch) | |
tree | ef38884d5d3a2a4207d481b32ac7d898859bb04d /MenhirLib/Validator_safe.v | |
parent | 5e8cac37b13cd3dcfbbe8e9dd939ed1fa9d5e310 (diff) | |
download | compcert-415c5a5a28ac7035cfa33e5753af841a450bfab0.tar.gz compcert-415c5a5a28ac7035cfa33e5753af841a450bfab0.zip |
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.
Diffstat (limited to 'MenhirLib/Validator_safe.v')
-rw-r--r-- | MenhirLib/Validator_safe.v | 4 |
1 files changed, 2 insertions, 2 deletions
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. |