Skip to content

Commit

Permalink
avoid mentioning now-deprecated Pervasives in generated code (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
gasche authored and alainfrisch committed Jul 5, 2019
1 parent 331fbc4 commit ef72761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppx_metaquot.ml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ module Main : sig end = struct
| x -> super # lift_Parsetree_core_type x
end

let loc = ref (app (evar "Pervasives.!") [evar "Ast_helper.default_loc"])
let loc = ref (app (evar "Stdlib.!") [evar "Ast_helper.default_loc"])

let handle_attr = function
| {attr_name={txt="metaloc";loc=l}; attr_payload=e; _} -> loc := get_exp l e
Expand Down

0 comments on commit ef72761

Please sign in to comment.