Skip to content

Commit

Permalink
remove unnecessary usage of false
Browse files Browse the repository at this point in the history
  • Loading branch information
Iwan committed Nov 11, 2017
1 parent 9aa5acb commit 720bdfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reason-parser/reason_pprint_ast.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3693,7 +3693,7 @@ class printer ()= object(self:'self)
* pass through this case. In this context they don't need to be wrapped in extra parens
* Some((-1)) should be printed as Some(-1). This is in contrast with
* 1 + (-1) where we print the parens for readability. *)
self#constant ~parens:(false || ensureExpr) c
self#constant ~parens:ensureExpr c
| x -> self#unparseExpr x
method simplifyUnparseExpr x =
Expand Down

0 comments on commit 720bdfe

Please sign in to comment.