From 031dd11883388ab4f26f8ebdc4747c27d368fdf1 Mon Sep 17 00:00:00 2001 From: Nathan Rebours Date: Mon, 26 Feb 2024 12:49:48 +0100 Subject: [PATCH] Fix typo in load_path migration error message Signed-off-by: Nathan Rebours Co-authored-by: Antonio Nuno Monteiro --- astlib/migrate_501_502.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astlib/migrate_501_502.ml b/astlib/migrate_501_502.ml index 61b1bdaa..dbca4fdb 100644 --- a/astlib/migrate_501_502.ml +++ b/astlib/migrate_501_502.ml @@ -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