Skip to content

Commit

Permalink
transfer attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
zth committed Jul 2, 2023
1 parent 4f147a6 commit becd5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jscomp/ml/typedecl.ml
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ let transl_declaration ~typeRecordAsObject env sdecl id =
(args
|> List.map (fun texpr : Typedtree.core_type ->
{
ctyp_attributes = [];
ctyp_attributes = cstr.cd_attributes;
ctyp_loc = cstr.cd_loc;
ctyp_env = env;
ctyp_type = texpr;
Expand Down

0 comments on commit becd5ff

Please sign in to comment.