Skip to content

Commit faec6b1

Browse files
authored
flambda-backend: Typos (#407)
1 parent 8914940 commit faec6b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

parsing/extensions.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ let unwrap_structure ~loc = function
104104
let unmap_comprehension ~loc payload =
105105
let str = unwrap_structure ~loc payload in
106106
let get_hd_and_tl = function
107-
| [] -> Misc.fatal_error "Unexpected sturcture in comprehension extension."
107+
| [] -> Misc.fatal_error "Unexpected structure in comprehension extension."
108108
| hd::tl -> hd, tl
109109
in
110110
let str_hd, str_tl = get_hd_and_tl str in
@@ -161,7 +161,7 @@ let extension_expr_of_payload ~loc ((name, payload) : extension) =
161161

162162
let report_error ~loc = function
163163
| Extension_not_existent extension_name ->
164-
Location.errorf ~loc "Extension %s does not exsist." extension_name
164+
Location.errorf ~loc "Extension %s does not exist." extension_name
165165
| Illegal_comprehension_extension_construct ->
166166
Location.errorf ~loc "Wrong extension syntax for comprehensions."
167167

0 commit comments

Comments
 (0)