Skip to content

Commit

Permalink
Merge pull request #1011 from hacspec/rename-struct-fields-access-in-…
Browse files Browse the repository at this point in the history
…bundles

fix(engine): also rename concrete idents within a projector.
  • Loading branch information
W95Psp authored Oct 17, 2024
2 parents 21672cd + e98abaa commit 8c427ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/lib/ast_utils.ml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ module Make (F : Features.T) = struct
method! visit_global_ident lvl (x : Global_ident.t) =
match x with
| `Concrete x -> `Concrete (f lvl x)
| `Projector (`Concrete x) -> `Projector (`Concrete (f lvl x))
| _ -> super#visit_global_ident lvl x

method! visit_ty _ t = super#visit_ty TypeLevel t
Expand Down

0 comments on commit 8c427ed

Please sign in to comment.