Skip to content

Commit 1701f99

Browse files
committed
disable record punning temporarily
1 parent 1f211a1 commit 1701f99

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jscomp/core/js_dump.ml

+3-2
Original file line numberDiff line numberDiff line change
@@ -968,8 +968,9 @@ and property_name_and_value_list cxt f (l : J.property_map) =
968968
let key = Js_dump_property.property_key pn in
969969
let str, cxt = Ext_pp_scope.str_of_ident cxt v in
970970
let content =
971-
if key = str then key
972-
else key ^ L.colon_space ^ str in
971+
(* if key = str then key
972+
else *)
973+
key ^ L.colon_space ^ str in
973974
P.string f content ;
974975
cxt
975976
| _ ->

0 commit comments

Comments
 (0)