Skip to content

Commit 72eaa04

Browse files
committed
Remove nested quotes
1 parent b91ca94 commit 72eaa04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ocaml/testsuite/tests/typing-unique/overwriting_underscore.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let underscore () = _
1111
Line 1, characters 20-21:
1212
1 | let underscore () = _
1313
^
14-
Error: Syntax error: "wildcard "_"" not expected.
14+
Error: Syntax error: "wildcard _" not expected.
1515
|}]
1616

1717
let overwriting t = overwrite_ t with (a, b)

ocaml/typing/typecore.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6534,7 +6534,7 @@ and type_expect_
65346534
else Location.todo_overwrite_not_implemented loc
65356535
| Pexp_hole ->
65366536
if not (Language_extension.is_enabled Overwriting) then
6537-
raise Syntaxerr.(Error(Not_expecting(loc, "wildcard \"_\"")))
6537+
raise Syntaxerr.(Error(Not_expecting(loc, "wildcard _")))
65386538
else Location.todo_overwrite_not_implemented loc
65396539

65406540
and expression_constraint pexp =

0 commit comments

Comments
 (0)