Skip to content

Commit

Permalink
Test case for ocaml/ocaml#11445
Browse files Browse the repository at this point in the history
  • Loading branch information
let-def committed Jul 20, 2022
1 parent 2164fda commit 0a43bec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ocaml/parse_errors.mlyl
Expand Up @@ -54,3 +54,8 @@ rule error_message = parse error
| [. IN]; !
{ fun _ -> "Expecting `in'" }

| OF; constructor_arguments; !
{ function
| MINUSGREATER -> "Issue #11445: in constructor arguments, arrow types should be wrapped between parentheses"
| _ -> "oops"
}

0 comments on commit 0a43bec

Please sign in to comment.