Commit 340fb6fe authored by Simon Marlow's avatar Simon Marlow

pprExpr: don't add extra parens around [a..b] in an argument position

test is tcfail205
parent 1c83695b
......@@ -529,6 +529,8 @@ pprParendExpr expr
-- I think that is usually (always?) right
in
case unLoc expr of
ArithSeq{} -> pp_as_was
PArrSeq{} -> pp_as_was
HsLit _ -> pp_as_was
HsOverLit _ -> pp_as_was
HsVar _ -> pp_as_was
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment