diff options
| author | Emilio Jesus Gallego Arias | 2020-11-15 15:57:37 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2020-11-18 16:25:00 +0100 |
| commit | 6aeee2e4e37d4b8ffb8c50c109903ad336c8bdfa (patch) | |
| tree | 251279a841dbae9e71126d3b1be87d2ef9bc2223 | |
| parent | ca42305f1ed1699065cffdef7d96bf5fcc0069be (diff) | |
[attributes] Update error message referring to deprecated syntax.
| -rw-r--r-- | doc/sphinx/addendum/universe-polymorphism.rst | 2 | ||||
| -rw-r--r-- | vernac/vernacentries.ml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/sphinx/addendum/universe-polymorphism.rst b/doc/sphinx/addendum/universe-polymorphism.rst index 3790f36e5a..4615a8dfca 100644 --- a/doc/sphinx/addendum/universe-polymorphism.rst +++ b/doc/sphinx/addendum/universe-polymorphism.rst @@ -195,7 +195,7 @@ Cumulative, NonCumulative This means that two instances of the same inductive type (family) are convertible only if all the universes are equal. - .. exn:: The cumulative and noncumulative attributes can only be used in a polymorphic context. + .. exn:: The cumulative attribute can only be used in a polymorphic context. Using this attribute requires being in a polymorphic context, i.e. either having the :flag:`Universe Polymorphism` flag on, or diff --git a/vernac/vernacentries.ml b/vernac/vernacentries.ml index 2edd9d4d11..0f63dfe5ce 100644 --- a/vernac/vernacentries.ml +++ b/vernac/vernacentries.ml @@ -674,7 +674,7 @@ let is_polymorphic_inductive_cumulativity = let polymorphic_cumulative = let error_poly_context () = user_err - Pp.(str "The cumulative and noncumulative attributes can only be used in a polymorphic context."); + Pp.(str "The cumulative attribute can only be used in a polymorphic context."); in let open Attributes in let open Notations in |
