We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7570c9 commit e954113Copy full SHA for e954113
test/ppx_deriving_qcheck/deriver/dune
@@ -5,6 +5,7 @@
5
test_qualified_names
6
test_recursive
7
test_tuple
8
- test_variants)
+ test_variants
9
+ test_record)
10
(libraries qcheck-alcotest ppxlib ppx_deriving_qcheck qcheck)
11
(preprocess (pps ppxlib.metaquot ppx_deriving_qcheck)))
test/ppx_deriving_qcheck/deriver/test_record.ml
@@ -0,0 +1,12 @@
1
+type t = {
2
+ rec_types : string list;
3
+ curr_types : string list;
4
+ curr_type : string
+ }
+[@@deriving qcheck]
+
+type color = Color of { red : float; green : float; blue : float }
+(* TODO: use these types to test generated values inside records.
12
+ For now, having these ensure the compilation *)
0 commit comments