@@ -56,6 +56,7 @@ module Opts = struct
|
56 | 56 | component_syntax: bool;
|
57 | 57 | dev_only_refinement_info_as_errors: bool;
|
58 | 58 | emoji: bool option;
|
| 59 | +enable_const_type_params: bool; |
59 | 60 | enable_const_params: bool option;
|
60 | 61 | enums: bool;
|
61 | 62 | estimate_recheck_time: bool option;
|
@@ -196,6 +197,7 @@ module Opts = struct
|
196 | 197 | component_syntax = false;
|
197 | 198 | dev_only_refinement_info_as_errors = false;
|
198 | 199 | emoji = None;
|
| 200 | +enable_const_type_params = false; |
199 | 201 | enable_const_params = None;
|
200 | 202 | enums = false;
|
201 | 203 | estimate_recheck_time = None;
|
@@ -1028,6 +1030,9 @@ module Opts = struct
|
1028 | 1030 | ( "dev_only.refinement_info_as_errors",
|
1029 | 1031 | boolean (fun opts v -> Ok { opts with dev_only_refinement_info_as_errors = v })
|
1030 | 1032 | );
|
| 1033 | +( "experimental.const_type_params", |
| 1034 | +boolean (fun opts v -> Ok { opts with enable_const_type_params = v }) |
| 1035 | +); |
1031 | 1036 | ("emoji", boolean (fun opts v -> Ok { opts with emoji = Some v }));
|
1032 | 1037 | ("enums", boolean (fun opts v -> Ok { opts with enums = v }));
|
1033 | 1038 | ("estimate_recheck_time", estimate_recheck_time_parser);
|
@@ -1830,6 +1835,8 @@ let dev_only_refinement_info_as_errors c = c.options.Opts.dev_only_refinement_in
|
1830 | 1835 |
|
1831 | 1836 | let emoji c = c.options.Opts.emoji
|
1832 | 1837 |
|
| 1838 | +let enable_const_type_params c = c.options.Opts.enable_const_type_params |
| 1839 | + |
1833 | 1840 | let enable_const_params c = c.options.Opts.enable_const_params
|
1834 | 1841 |
|
1835 | 1842 | let enums c = c.options.Opts.enums
|
|
0 commit comments