Skip to content

Commit

Permalink
Fix "unused value pp_t_param_array" in attributeResolution.ml
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Tianhan Lu authored and facebook-github-bot committed Oct 25, 2024
1 parent af1ac09 commit 9287910
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/analysis/attributeResolution.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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 *)

Expand Down

0 comments on commit 9287910

Please sign in to comment.