File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,6 @@ let checkUnsupportedGenTypeAsRenaming attributes =
118118 | Some (loc , _ ) -> error ~loc
119119 | None -> () )
120120
121- let getAs attributes = attributes |> getAttributePayload tagIsAs
122-
123121let getAsString attributes =
124122 match attributes |> getAttributePayload tagIsAs with
125123 | Some (_ , StringPayload s ) -> Some s
Original file line number Diff line number Diff line change @@ -82,24 +82,24 @@ and field = {
8282
8383and function_ = {
8484 argTypes : argType list ;
85- componentName : string option ;
85+ componentName : string option ; [ @ live]
8686 retType : type_ ;
8787 typeVars : string list ;
88- uncurried : bool ;
88+ uncurried : bool ; [ @ live]
8989}
9090
9191and ident = {builtin : bool ; name : string ; typeArgs : type_ list }
9292
9393and variant = {
94- bsStringOrInt : bool ;
94+ bsStringOrInt : bool ; [ @ live]
9595 inherits : type_ list ;
9696 noPayloads : case list ;
9797 payloads : payload list ;
9898 polymorphic : bool ; (* If true, this is a polymorphic variant *)
9999 unboxed : bool ;
100100}
101101
102- and payload = {case : case ; inlineRecord : bool ; numArgs : int ; t : type_ }
102+ and payload = {case : case ; inlineRecord : bool [ @ live] ; numArgs : int ; [ @ live] t : type_ }
103103
104104type label = Nolabel | Label of string | OptLabel of string
105105
You can’t perform that action at this time.
0 commit comments