From 9287910cbec62ac2e61963938cbd316849f1228e Mon Sep 17 00:00:00 2001 From: Tianhan Lu Date: Fri, 25 Oct 2024 16:25:43 -0700 Subject: [PATCH] Fix "unused value pp_t_param_array" in attributeResolution.ml Summary: ``` [~/pyre/source] $ make Build info: Linux x86_64 @ Fri Oct 25 2024 (development build) HG revision: 111cc7635d25d30b198035963b7c4e9e7d067bd4 dune build install -j auto --profile dev File "analysis/attributeResolution.ml", line 77, characters 2-63: 77 | type t_param_array = t_param array [@deriving show, compare] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error (warning 32 [unused-value-declaration]): unused value pp_t_param_array. make: *** [Makefile:9: dev] Error 1 ``` Reviewed By: grievejia Differential Revision: D64984511 fbshipit-source-id: 4df8f726a5a2f2d32fbbcf4168b6c8b7608a044f --- source/analysis/attributeResolution.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/analysis/attributeResolution.ml b/source/analysis/attributeResolution.ml index aec3135629..7239d4b529 100644 --- a/source/analysis/attributeResolution.ml +++ b/source/analysis/attributeResolution.ml @@ -70,11 +70,11 @@ let union = function module VarianceVisitor = struct - type injectivity = bool [@@deriving show, compare] + type injectivity = bool [@@deriving compare] - type t_param = string * Type.Record.Variance.t * injectivity [@@deriving show, compare] + type t_param = string * Type.Record.Variance.t * injectivity [@@deriving compare] - type t_param_array = t_param array [@@deriving show, compare] + type t_param_array = t_param array [@@deriving compare] (* type on_edge = class_name:string -> t_param array *)