aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/ssr
diff options
context:
space:
mode:
authorGravatar Théo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2018-02-20 14:10:58 +0100
committerGravatar Théo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2018-03-02 23:45:51 +0100
commitff7be36add22cf3c6efd24a27ebdde818fc1dc06 (patch)
tree227179d9fc8e17fb7aa7324fabe1c8b78a84722e /plugins/ssr
parent406f98b0efed0b5ed0c680c8a747b307d50c8ff4 (diff)
Turn warning for deprecated notations on.
Fix new deprecation warnings in the standard library.
Diffstat (limited to 'plugins/ssr')
-rw-r--r--plugins/ssr/ssrfun.v8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ssr/ssrfun.v b/plugins/ssr/ssrfun.v
index 1f3a9c124..f77f7c4fa 100644
--- a/plugins/ssr/ssrfun.v
+++ b/plugins/ssr/ssrfun.v
@@ -443,14 +443,14 @@ Section Tag.
Variables (I : Type) (i : I) (T_ U_ : I -> Type).
-Definition tag := projS1.
-Definition tagged : forall w, T_(tag w) := @projS2 I [eta T_].
-Definition Tagged x := @existS I [eta T_] i x.
+Definition tag := projT1.
+Definition tagged : forall w, T_(tag w) := @projT2 I [eta T_].
+Definition Tagged x := @existT I [eta T_] i x.
Definition tag2 (w : @sigT2 I T_ U_) := let: existT2 _ _ i _ _ := w in i.
Definition tagged2 w : T_(tag2 w) := let: existT2 _ _ _ x _ := w in x.
Definition tagged2' w : U_(tag2 w) := let: existT2 _ _ _ _ y := w in y.
-Definition Tagged2 x y := @existS2 I [eta T_] [eta U_] i x y.
+Definition Tagged2 x y := @existT2 I [eta T_] [eta U_] i x y.
End Tag.