We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 330f583 commit fb6c1a1Copy full SHA for fb6c1a1
ocaml/typing/typecore.ml
@@ -723,6 +723,10 @@ type type_pat_state =
723
{ mutable tps_pattern_variables: pattern_variable list;
724
mutable tps_pattern_force: (unit -> unit) list;
725
mutable tps_module_variables: module_variables;
726
+ (* Mutation will not change the constructor of [tps_module_variables], just
727
+ the contained [module_variables] list. [module_variables] could be made
728
+ mutable instead, but we felt this made the code more awkward.
729
+ *)
730
}
731
732
let create_type_pat_state allow_modules =
0 commit comments