diff options
| author | Hugo Herbelin | 2020-01-19 19:11:58 +0100 |
|---|---|---|
| committer | Hugo Herbelin | 2020-01-19 19:11:58 +0100 |
| commit | 2ae084f55c2e9bce3023a25a1e2c7a70dadcf348 (patch) | |
| tree | 9a3b7a26e79d80764533ce9618d03a0eb35347f5 /test-suite/prerequisite | |
| parent | c4de7eb4a4e470864ecd06bb240a3f572d7d84d7 (diff) | |
| parent | b9f3e03dd07e678ce900f332cf4653c5d222ee16 (diff) | |
Merge PR #11368: Turn trailing implicit warning into an error
Ack-by: Zimmi48
Reviewed-by: herbelin
Ack-by: maximedenes
Diffstat (limited to 'test-suite/prerequisite')
| -rw-r--r-- | test-suite/prerequisite/ssr_mini_mathcomp.v | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test-suite/prerequisite/ssr_mini_mathcomp.v b/test-suite/prerequisite/ssr_mini_mathcomp.v index d293dc0533..048fb3b027 100644 --- a/test-suite/prerequisite/ssr_mini_mathcomp.v +++ b/test-suite/prerequisite/ssr_mini_mathcomp.v @@ -65,7 +65,7 @@ Proof. by []. Qed. Lemma eqP T : Equality.axiom (@eq_op T). Proof. by case: T => ? []. Qed. -Arguments eqP [T x y]. +Arguments eqP {T x y}. Delimit Scope eq_scope with EQ. Open Scope eq_scope. @@ -345,7 +345,7 @@ Proof. by []. Qed. End SubEqType. -Arguments val_eqP [T P sT x y]. +Arguments val_eqP {T P sT x y}. Prenex Implicits val_eqP. Notation "[ 'eqMixin' 'of' T 'by' <: ]" := (SubEqMixin _ : Equality.class_of T) @@ -386,7 +386,7 @@ Qed. Canonical nat_eqMixin := EqMixin eqnP. Canonical nat_eqType := Eval hnf in EqType nat nat_eqMixin. -Arguments eqnP [x y]. +Arguments eqnP {x y}. Prenex Implicits eqnP. Coercion nat_of_bool (b : bool) := if b then 1 else 0. |
