Skip to content

A first draft of the quotation support, half-finished #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion file_formats/cmt_format.ml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ let iter_on_occurrences
| Texp_object _ | Texp_pack _ | Texp_letop _ | Texp_unreachable
| Texp_list_comprehension _ | Texp_array_comprehension _ | Texp_probe _
| Texp_probe_is_enabled _ | Texp_exclave _
| Texp_open _ | Texp_src_pos | Texp_overwrite _ | Texp_hole _ -> ());
| Texp_open _ | Texp_src_pos | Texp_overwrite _
| Texp_hole _ | Texp_quotation _ | Texp_antiquotation _ -> ());
default_iterator.expr sub e);

(* Remark: some types get iterated over twice due to how constraints are
Expand Down
2 changes: 2 additions & 0 deletions lambda/translcore.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,8 @@ and transl_exp0 ~in_new_scope ~scopes sort e =
Location.todo_overwrite_not_implemented ~kind:"Translcore" e.exp_loc
| Texp_hole _ ->
Location.todo_overwrite_not_implemented ~kind:"Translcore" e.exp_loc
| Texp_quotation _ -> failwith "Not implemented yet"
| Texp_antiquotation _ -> failwith "Not implemented yet"

and pure_module m =
match m.mod_desc with
Expand Down
Loading
Loading