Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
623e6139
Commit
623e6139
authored
Nov 15, 2009
by
Duncan Coutts
Browse files
Fix formatting of module deprecation/warning messages
It was accidentally using list syntax. Fixes #3303 again.
parent
11b79683
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/rename/RnNames.lhs
View file @
623e6139
...
...
@@ -1475,11 +1475,11 @@ nullModuleExport mod
moduleWarn :: ModuleName -> WarningTxt -> SDoc
moduleWarn mod (WarningTxt txt)
= sep [ ptext (sLit "Module") <+> quotes (ppr mod) <> ptext (sLit ":"),
nest
4 (
ppr txt) ]
nest
2 (vcat (map
ppr txt)
)
]
moduleWarn mod (DeprecatedTxt txt)
= sep [ ptext (sLit "Module") <+> quotes (ppr mod)
<+> ptext (sLit "is deprecated:"),
nest
4 (
ppr txt) ]
nest
2 (vcat (map
ppr txt)
)
]
implicitPreludeWarn :: SDoc
implicitPreludeWarn
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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