@@ -147,7 +147,7 @@ let typ_mapper (self : Bs_ast_mapper.mapper) (ty : Parsetree.core_type) =
147
147
let attrs, core_type =
148
148
match Ast_attributes. process_attributes_rev attrs with
149
149
| Nothing , attrs -> (attrs, ty) (* #1678 *)
150
- | Uncurry ( attr , _async ) , attrs -> (attrs, attr +> ty)
150
+ | Uncurry attr , attrs -> (attrs, attr +> ty)
151
151
| Method _ , _ ->
152
152
Location. raise_errorf ~loc
153
153
" %@get/set conflicts with %@meth"
@@ -160,7 +160,7 @@ let typ_mapper (self : Bs_ast_mapper.mapper) (ty : Parsetree.core_type) =
160
160
let attrs, core_type =
161
161
match Ast_attributes. process_attributes_rev attrs with
162
162
| Nothing , attrs -> (attrs, ty)
163
- | Uncurry ( attr , _async ) , attrs -> (attrs, attr +> ty)
163
+ | Uncurry attr , attrs -> (attrs, attr +> ty)
164
164
| Method _ , _ ->
165
165
Location. raise_errorf ~loc
166
166
" %@get/set conflicts with %@meth"
@@ -174,7 +174,7 @@ let typ_mapper (self : Bs_ast_mapper.mapper) (ty : Parsetree.core_type) =
174
174
let attrs, core_type =
175
175
match Ast_attributes. process_attributes_rev ptyp_attrs with
176
176
| Nothing , attrs -> (attrs, ty)
177
- | Uncurry ( attr , _async ) , attrs -> (attrs, attr +> ty)
177
+ | Uncurry attr , attrs -> (attrs, attr +> ty)
178
178
| Method attr , attrs -> (attrs, attr +> ty)
179
179
| Meth_callback attr , attrs -> (attrs, attr +> ty)
180
180
in
0 commit comments