Skip to content

Commit

Permalink
Make sure origins are renamed in bundles.
Browse files Browse the repository at this point in the history
  • Loading branch information
maximebuyse committed Feb 3, 2025
1 parent 8381810 commit 337e5a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engine/lib/ast_utils.ml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,9 @@ module Make (F : Features.T) = struct
inherit [_] Visitors.map as super
method! visit_concrete_ident (lvl : visit_level) ident = f lvl ident

method! visit_item_quote_origin (lvl : visit_level) iqo =
{ iqo with item_ident = f lvl iqo.item_ident }

method! visit_global_ident lvl (x : Global_ident.t) =
match x with
| `Concrete x -> `Concrete (f lvl x)
Expand Down

0 comments on commit 337e5a7

Please sign in to comment.