Skip to content

Commit

Permalink
Fix typo in load_path migration error message
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Rebours <[email protected]>

Co-authored-by: Antonio Nuno Monteiro <[email protected]>
  • Loading branch information
NathanReb and anmonteiro committed Mar 11, 2024
1 parent 2283c6c commit 031dd11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astlib/migrate_501_502.ml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ let migrate_ppx_context_load_path expr =
pexp_desc = Pexp_tuple [ visible; hidden ];
}
| Some (PStr [ { pstr_desc = Pstr_eval (expr, []); _ } ]) -> expr
| Some _ -> invalid_arg "Invalid ppxlib.migration.load_path paylaod"
| Some _ -> invalid_arg "Invalid ppxlib.migration.load_path payload"

let migrate_ppx_context_fields fields =
List.map
Expand Down

0 comments on commit 031dd11

Please sign in to comment.