diff options
| author | Clément Blaudeau | 2020-09-08 11:45:06 +0200 |
|---|---|---|
| committer | GitHub | 2020-09-08 11:45:06 +0200 |
| commit | 9315f079d43e2895b9e04dbe5aafecddb1c78f59 (patch) | |
| tree | 75d0b01f33d9c9e729c76d32e00d989452425ccc | |
| parent | ebcfaf62423ee8e35167a5f4b275a17bec111180 (diff) | |
[Small typo] Update match.rst
Some error messages were merged together
| -rw-r--r-- | doc/sphinx/language/extensions/match.rst | 6 |
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..e887ca8e98 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 the arguments, because they are not linear or they are wrongly typed). .. exn:: Non exhaustive pattern matching. |
