Debian Codegraph @

test/compare_test.mlt

raw
1 open Base
2
3 module No_comparing2 = struct
4 (* Checks that we don't trigger an 'unused rec' warning. *)
5 type t =
6 { a : t [@compare.ignore]
7 ; b : (t[@compare.ignore]) * int
8 }
9 [@@deriving compare]
10 end
11
12 [%%expect {| |}]