aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoqbot-app[bot]2020-09-08 13:07:17 +0000
committerGitHub2020-09-08 13:07:17 +0000
commitbfcd647d26378bb9a654630c5c2379a769cea967 (patch)
tree7b783b726194d1893894ceda3ed21382d841fcb7
parentebcfaf62423ee8e35167a5f4b275a17bec111180 (diff)
parentbfd9e79245bf6bf6fb8f837fb44d8f4e3f59f0d2 (diff)
Merge PR #12991: [Small typo] Update match.rst
Reviewed-by: Zimmi48
-rw-r--r--doc/sphinx/language/extensions/match.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/sphinx/language/extensions/match.rst b/doc/sphinx/language/extensions/match.rst
index 34752a4c4d..182f599a29 100644
--- a/doc/sphinx/language/extensions/match.rst
+++ b/doc/sphinx/language/extensions/match.rst
@@ -880,10 +880,10 @@ Here is a summary of the error messages corresponding to each
situation:
.. exn:: The constructor @ident expects @num arguments.
+ The variable ident is bound several times in pattern term
+ Found a constructor of inductive type term while a constructor of term is expected
- The variable ident is bound several times in pattern termFound a constructor
- of inductive type term while a constructor of term is expectedPatterns are
- incorrect (because constructors are not applied to the correct number of the
+ Patterns are incorrect (because constructors are not applied to the correct number of
arguments, because they are not linear or they are wrongly typed).
.. exn:: Non exhaustive pattern matching.