You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jscomp/ml/types.ml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -303,7 +303,7 @@ type label_description =
303
303
lbl_arg: type_expr;(* Type of the argument *)
304
304
lbl_mut: mutable_flag;(* Is this a mutable field? *)
305
305
lbl_pos: int;(* Position in block *)
306
-
mutable lbl_all: label_descriptionarray;(* All the labels in this type *)
306
+
mutable lbl_all: label_descriptionarray;(* All the labels in this type. This is mutable only because of a specific feature related to dicts, and should not be mutated elsewhere.*)
307
307
lbl_repres: record_representation;(* Representation for this record *)
Copy file name to clipboardExpand all lines: jscomp/ml/types.mli
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -449,8 +449,7 @@ type label_description =
449
449
lbl_arg: type_expr;(* Type of the argument *)
450
450
lbl_mut: mutable_flag;(* Is this a mutable field? *)
451
451
lbl_pos: int;(* Position in block *)
452
-
mutable lbl_all: label_descriptionarray;(* All the labels in this type *)
453
-
lbl_repres: record_representation;(* Representation for this record *)
452
+
mutable lbl_all: label_descriptionarray;(* All the labels in this type. This is mutable only because of a specific feature related to dicts, and should not be mutated elsewhere. *)lbl_repres: record_representation;(* Representation for this record *)
0 commit comments