Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
DZakh committed Sep 27, 2023
1 parent d66d436 commit 6ef9ca9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions jscomp/frontend/ast_external_process.ml
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@ let process_obj (loc : Location.t) (st : external_desc) (prim_name : string)
"expect label, optional, or unit here")
| Labelled label -> (
let fieldName =
match Ast_attributes.iter_process_bs_string_as param_type.attr with
match
Ast_attributes.iter_process_bs_string_as param_type.attr
with
| Some alias -> alias
| None -> label
in
Expand Down Expand Up @@ -460,7 +462,9 @@ let process_obj (loc : Location.t) (st : external_desc) (prim_name : string)
"%@obj label %s does not support %@unwrap arguments" label)
| Optional label -> (
let fieldName =
match Ast_attributes.iter_process_bs_string_as param_type.attr with
match
Ast_attributes.iter_process_bs_string_as param_type.attr
with
| Some alias -> alias
| None -> label
in
Expand Down

0 comments on commit 6ef9ca9

Please sign in to comment.