Skip to content

Commit

Permalink
Preserve location when migrating ocaml.ppx.context attr
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Rebours <[email protected]>
  • Loading branch information
NathanReb committed Mar 18, 2024
1 parent 993b85c commit 7d03610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astlib/migrate_502_501.ml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ let rec concat_list_lit left right =

let migrate_ppx_context_load_path expr =
let open Ast_502.Parsetree in
let loc = Location.none in
let loc = expr.pexp_loc in
match expr.pexp_desc with
| Pexp_tuple [ visible; hidden ] ->
let migration_attr =
Expand Down

0 comments on commit 7d03610

Please sign in to comment.