Skip to content

Commit 1597f50

Browse files
authored
Merge pull request #2761 from bsansouci/tiny-fix
Tiny typo fix in error message
2 parents a870c4a + 2a2e3d6 commit 1597f50

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vendor/ocaml/parsing/lexer.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ let report_error ppf = function
706706
| Unterminated_paren_in_conditional ->
707707
fprintf ppf "Unterminated parens in conditional predicate"
708708
| Expect_hash_then_in_conditional ->
709-
fprintf ppf "Expect `then` after conditioal predicate"
709+
fprintf ppf "Expect `then` after conditional predicate"
710710
| Conditional_expr_expected_type (a,b) ->
711711
fprintf ppf "Conditional expression type mismatch (%s,%s)"
712712
(string_of_type_directive a )

vendor/ocaml/parsing/lexer.mll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ let report_error ppf = function
719719
| Unterminated_paren_in_conditional ->
720720
fprintf ppf "Unterminated parens in conditional predicate"
721721
| Expect_hash_then_in_conditional ->
722-
fprintf ppf "Expect `then` after conditioal predicate"
722+
fprintf ppf "Expect `then` after conditional predicate"
723723
| Conditional_expr_expected_type (a,b) ->
724724
fprintf ppf "Conditional expression type mismatch (%s,%s)"
725725
(string_of_type_directive a )

0 commit comments

Comments
 (0)