From b7f42759cf6c064b67ae3fc4a171e2042b7b99ec Mon Sep 17 00:00:00 2001 From: Jules Villard Date: Thu, 13 Feb 2020 09:01:27 -0800 Subject: [PATCH] [ocaml] aliasing sexp_{list,option} doesn't work anymore Summary: That trick briefly worked when it was introduced but I think a change in merlin broke it again as I see "sexp_list", "sexp_option" in the types shown by merlin again. Disgusting! Remove useless hack. Also referring to types such as `sexp_list` is deprecated in core v13 for some reason. Reviewed By: jberdine Differential Revision: D19861586 fbshipit-source-id: 1c4c3af13 --- infer/src/istd/IStd.ml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/infer/src/istd/IStd.ml b/infer/src/istd/IStd.ml index 1e03ad187..c828bd0b1 100644 --- a/infer/src/istd/IStd.ml +++ b/infer/src/istd/IStd.ml @@ -26,12 +26,6 @@ let invalid_argf _ : [`use_Logging_die_instead] = assert false let exit = `In_general_prefer_using_Logging_exit_over_Pervasives_exit -(* prevent merlin et al. from showing ['a sexp_list] everywhere a list type is used *) -type 'a list = 'a sexp_list - -(* prevent merlin et al. from showing ['a sexp_option] everywhere an option type is used *) -type 'a option = 'a sexp_option - [@@@warning "+32"] module ANSITerminal : module type of ANSITerminal = struct