Skip to content

Commit

Permalink
Warn deperecation of >>
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael-proust committed Sep 1, 2017
1 parent c4b11ea commit 4048ec5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ppx/ppx_lwt.ml
Expand Up @@ -335,6 +335,7 @@ let mapper =
))

| [%expr [%e? lhs] >> [%e? rhs]] ->
prerr_string "Warning: the operator >> is deprecated\n";
if !sequence then
let pat = if !strict_seq then [%pat? ()] else [%pat? _] in
let lhs, rhs = mapper.expr mapper lhs, mapper.expr mapper rhs in
Expand Down

0 comments on commit 4048ec5

Please sign in to comment.