Skip to content

Commit

Permalink
ppx: fixed bug showing up in toplevel
Browse files Browse the repository at this point in the history
  • Loading branch information
pveber committed Feb 9, 2019
1 parent 5233c2b commit 37af461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppx/ppx_bistro.ml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ let rec replace_body new_body = function
let default_descr var =
Printf.sprintf
"%s.%s"
(Caml.Filename.(chop_extension (basename !L.input_name)))
Caml.Filename.(remove_extension (basename !L.input_name))
var

let str_item_rewriter ~loc ~path:_ descr version var expr =
Expand Down

0 comments on commit 37af461

Please sign in to comment.