From e0aab135237aaa9334afe9acc9b519bbe2b53ae9 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Mon, 13 Feb 2017 11:46:23 +0100 Subject: 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. --- common/AST.v | 6 +++--- common/Errors.v | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'common') 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. *) -- cgit