Skip to content

Commit f7450bb

Browse files
committed
Update js_dump.ml
1 parent d3ee4df commit f7450bb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

compiler/core/js_dump.ml

-5
Original file line numberDiff line numberDiff line change
@@ -796,11 +796,6 @@ and expression_desc cxt ~(level : int) f x : cxt =
796796
let tails =
797797
Ext_list.combine_array p.fields el (fun (i, opt) -> (Js_op.Lit i, opt))
798798
in
799-
(* let is_optional (pname : Js_op.property_name) =
800-
match pname with
801-
| Lit n -> Ext_list.mem_string p.optional_labels n
802-
| Symbol_name -> false
803-
in *)
804799
let tag_name =
805800
match Ast_untagged_variants.process_tag_name p.attrs with
806801
| None -> L.tag

0 commit comments

Comments
 (0)