Skip to content

Commit

Permalink
Remove nested quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
anfelor committed Oct 4, 2024
1 parent b91ca94 commit 72eaa04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let underscore () = _
Line 1, characters 20-21:
1 | let underscore () = _
^
Error: Syntax error: "wildcard "_"" not expected.
Error: Syntax error: "wildcard _" not expected.
|}]

let overwriting t = overwrite_ t with (a, b)
Expand Down
2 changes: 1 addition & 1 deletion ocaml/typing/typecore.ml
Original file line number Diff line number Diff line change
Expand Up @@ -6534,7 +6534,7 @@ and type_expect_
else Location.todo_overwrite_not_implemented loc
| Pexp_hole ->
if not (Language_extension.is_enabled Overwriting) then
raise Syntaxerr.(Error(Not_expecting(loc, "wildcard \"_\"")))
raise Syntaxerr.(Error(Not_expecting(loc, "wildcard _")))
else Location.todo_overwrite_not_implemented loc

and expression_constraint pexp =
Expand Down

0 comments on commit 72eaa04

Please sign in to comment.