Skip to content

Commit b28ab11

Browse files
committed
AST cleanup: explicit representation for optional record fields in types.
1 parent 6a30fa2 commit b28ab11

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/ml/ast_mapper_to0.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,7 @@ let default_mapper =
468468
~mut:pld_mutable
469469
~loc:(this.location this pld_loc)
470470
~attrs:
471-
(Parsetree0.add_optional_attr ~optional:pld_optional
472-
(this.attributes this pld_attributes)));
471+
(Parsetree0.add_optional_attr ~optional:pld_optional (this.attributes this pld_attributes)));
473472
cases = (fun this l -> List.map (this.case this) l);
474473
case =
475474
(fun this {pc_lhs; pc_guard; pc_rhs} ->

0 commit comments

Comments
 (0)