Skip to content

Commit

Permalink
Add missing live annotation to fix roundtrip tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fhammerschmidt committed Sep 22, 2023
1 parent 4bf6fc3 commit ba56ffc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jscomp/gentype/TranslateStructure.ml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ and addAnnotationsToFields ~config (expr : Typedtree.expression)
in
({field with nameJS = name} :: nextFields1, types1)
| _ -> (fields, argTypes)
[@@live]

(** Recover from expr the renaming annotations on named arguments. *)
let addAnnotationsToFunctionType ~config (expr : Typedtree.expression)
Expand Down

0 comments on commit ba56ffc

Please sign in to comment.