diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-07-18 00:53:38 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-07-18 00:57:24 +0200 |
commit | a07af57f3140a2481e1e2f45a930a17d80a33645 (patch) | |
tree | 5ea91c9bede1cbf1aa1991b7c3875fb20bedf8e5 /theories/Program | |
parent | ddf50c8bb15ce86fc3e3fbedf9f86fd278f01776 (diff) |
Fix bug #4923: Warning: appcontext is deprecated.
Diffstat (limited to 'theories/Program')
-rw-r--r-- | theories/Program/Tactics.v | 2 | ||||
-rw-r--r-- | theories/Program/Wf.v | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/theories/Program/Tactics.v b/theories/Program/Tactics.v index 7384790da..dfd6b0eae 100644 --- a/theories/Program/Tactics.v +++ b/theories/Program/Tactics.v @@ -264,7 +264,7 @@ Ltac bang := match goal with | |- ?x => match x with - | appcontext [False_rect _ ?p] => elim p + | context [False_rect _ ?p] => elim p end end. diff --git a/theories/Program/Wf.v b/theories/Program/Wf.v index a2fd05cd9..c490ea516 100644 --- a/theories/Program/Wf.v +++ b/theories/Program/Wf.v @@ -211,7 +211,7 @@ Ltac fold_sub f := match goal with | [ |- ?T ] => match T with - appcontext C [ @Fix_sub _ _ _ _ _ ?arg ] => + context C [ @Fix_sub _ _ _ _ _ ?arg ] => let app := context C [ f arg ] in change app end |