File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -495,9 +495,10 @@ let check_tag_field_conflicts (cstrs : Types.constructor_declaration list) =
495495 List. iter
496496 (fun (field : Types.label_declaration ) ->
497497 (* Get the effective field name in JavaScript output *)
498- let effective_field_name = match process_as_name field.ld_attributes with
499- | Some as_name -> as_name (* Use @as name if present *)
500- | None -> Ident. name field.ld_id (* Otherwise use field name *)
498+ let effective_field_name =
499+ match process_as_name field.ld_attributes with
500+ | Some as_name -> as_name (* Use @as name if present *)
501+ | None -> Ident. name field.ld_id (* Otherwise use field name *)
501502 in
502503 (* Check if effective field name conflicts with tag *)
503504 if effective_field_name = tag_name then
You can’t perform that action at this time.
0 commit comments