File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,6 @@ let checkUnsupportedGenTypeAsRenaming attributes =
118
118
| Some (loc , _ ) -> error ~loc
119
119
| None -> () )
120
120
121
- let getAs attributes = attributes |> getAttributePayload tagIsAs
122
-
123
121
let getAsString attributes =
124
122
match attributes |> getAttributePayload tagIsAs with
125
123
| Some (_ , StringPayload s ) -> Some s
Original file line number Diff line number Diff line change @@ -82,24 +82,24 @@ and field = {
82
82
83
83
and function_ = {
84
84
argTypes : argType list ;
85
- componentName : string option ;
85
+ componentName : string option ; [ @ live]
86
86
retType : type_ ;
87
87
typeVars : string list ;
88
- uncurried : bool ;
88
+ uncurried : bool ; [ @ live]
89
89
}
90
90
91
91
and ident = {builtin : bool ; name : string ; typeArgs : type_ list }
92
92
93
93
and variant = {
94
- bsStringOrInt : bool ;
94
+ bsStringOrInt : bool ; [ @ live]
95
95
inherits : type_ list ;
96
96
noPayloads : case list ;
97
97
payloads : payload list ;
98
98
polymorphic : bool ; (* If true, this is a polymorphic variant *)
99
99
unboxed : bool ;
100
100
}
101
101
102
- and payload = {case : case ; inlineRecord : bool ; numArgs : int ; t : type_ }
102
+ and payload = {case : case ; inlineRecord : bool [ @ live] ; numArgs : int ; [ @ live] t : type_ }
103
103
104
104
type label = Nolabel | Label of string | OptLabel of string
105
105
You can’t perform that action at this time.
0 commit comments