Skip to content

Commit ba56ffc

Browse files
Add missing live annotation to fix roundtrip tests
1 parent 4bf6fc3 commit ba56ffc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jscomp/gentype/TranslateStructure.ml

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ and addAnnotationsToFields ~config (expr : Typedtree.expression)
5555
in
5656
({field with nameJS = name} :: nextFields1, types1)
5757
| _ -> (fields, argTypes)
58+
[@@live]
5859

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

0 commit comments

Comments
 (0)