We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3bf578 commit df1653dCopy full SHA for df1653d
lib/Extended_ast.ml
@@ -238,8 +238,7 @@ module Parse = struct
238
(prefer_let_puns, (b.pbop_pat.ppat_desc, b.pbop_exp.pexp_desc))
239
with
240
| None, _ -> (b.pbop_is_pun, b.pbop_pat)
241
- | ( Some true
242
- , (Ppat_var {txt; loc= _}, Pexp_ident {txt= Lident e; loc}) )
+ | Some true, (Ppat_var {txt; _}, Pexp_ident {txt= Lident e; loc})
243
when String.equal txt e ->
244
(true, {b.pbop_pat with ppat_desc= Ppat_var {txt; loc}})
245
| _ -> (false, b.pbop_pat)
0 commit comments