diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2017-02-13 11:46:23 +0100 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2017-02-13 13:49:06 +0100 |
commit | e0aab135237aaa9334afe9acc9b519bbe2b53ae9 (patch) | |
tree | a0fced5f8e0affa13df1712a07958be223e12ade /common | |
parent | 3bd82b3cb10a721f2e2c8db6d0271c83a22095a3 (diff) | |
download | compcert-e0aab135237aaa9334afe9acc9b519bbe2b53ae9.tar.gz compcert-e0aab135237aaa9334afe9acc9b519bbe2b53ae9.zip |
Replace "Implicit Arguments" with "Arguments"
This silences a warning of Coq 8.6.
Some "Implicit Arguments" remain in flocq/ but I'd rather not diverge from the released version of flocq if at all possible.
Diffstat (limited to 'common')
-rw-r--r-- | common/AST.v | 6 | ||||
-rw-r--r-- | common/Errors.v | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/common/AST.v b/common/AST.v index e6fdec3c..34f29bb3 100644 --- a/common/AST.v +++ b/common/AST.v @@ -260,8 +260,8 @@ Inductive globdef (F V: Type) : Type := | Gfun (f: F) | Gvar (v: globvar V). -Implicit Arguments Gfun [F V]. -Implicit Arguments Gvar [F V]. +Arguments Gfun [F V]. +Arguments Gvar [F V]. Record program (F V: Type) : Type := mkprogram { prog_defs: list (ident * globdef F V); @@ -530,7 +530,7 @@ Inductive fundef (F: Type): Type := | Internal: F -> fundef F | External: external_function -> fundef F. -Implicit Arguments External [F]. +Arguments External [F]. Section TRANSF_FUNDEF. diff --git a/common/Errors.v b/common/Errors.v index 293b7993..28933313 100644 --- a/common/Errors.v +++ b/common/Errors.v @@ -47,7 +47,7 @@ Inductive res (A: Type) : Type := | OK: A -> res A | Error: errmsg -> res A. -Implicit Arguments Error [A]. +Arguments Error [A]. (** To automate the propagation of errors, we use a monadic style with the following [bind] operation. *) |