Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
jberryman
GHC
Commits
340fb6fe
Commit
340fb6fe
authored
Jun 08, 2009
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pprExpr: don't add extra parens around [a..b] in an argument position
test is tcfail205
parent
1c83695b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
compiler/hsSyn/HsExpr.lhs
compiler/hsSyn/HsExpr.lhs
+2
-0
No files found.
compiler/hsSyn/HsExpr.lhs
View file @
340fb6fe
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment