Skip to content

Commit

Permalink
Mark ppx-generated wildcard pattern of "try%lwt" and "match%lwt" as g…
Browse files Browse the repository at this point in the history
…host
  • Loading branch information
copy authored and aantron committed Sep 12, 2017
1 parent f3fd016 commit fa4fa37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ppx/ppx_lwt.ml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let add_wildcard_case cases =
List.exists is_catchall cases
in
if not has_wildcard
then cases @ [Exp.case [%pat? exn] [%expr Lwt.fail exn]]
then cases @ [Exp.case [%pat? exn] [%expr Lwt.fail exn]] [@metaloc Location.none]
else cases

(** {3 Internal names} *)
Expand Down

0 comments on commit fa4fa37

Please sign in to comment.