Skip to content

Commit

Permalink
[Small typo] Update match.rst
Browse files Browse the repository at this point in the history
Some error messages were merged together

(cherry picked from commit 9315f07)
  • Loading branch information
clementblaudeau authored and Zimmi48 committed Sep 8, 2020
1 parent 1c199b9 commit 1e0c13d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/sphinx/language/extensions/match.rst
Expand Up @@ -876,10 +876,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.
Expand Down

0 comments on commit 1e0c13d

Please sign in to comment.