Skip to content

Commit

Permalink
Fix uncurry attribute on function application
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Apr 19, 2020
1 parent 30fb3f5 commit 535eb95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reason-parser/reason_parser.mly
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ let mkstrexp e attrs =
| ({pexp_desc = Pexp_apply (({pexp_attributes} as e1), args) } as eRewrite)
when let f = (List.filter (function
| { attr_name = {txt = "bs"}; _} -> true
| _ -> false ) e.pexp_attributes) in
| _ -> false ) pexp_attributes) in
List.length f > 0
->
let appExprAttrs = List.filter (function
Expand Down

0 comments on commit 535eb95

Please sign in to comment.