Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
5c3a415b
Commit
5c3a415b
authored
Jun 11, 2012
by
Ian Lynagh
Browse files
Pass DynFlags down to showSDocUnqual
parent
b1a75d2f
Changes
1
Show whitespace changes
Inline
Side-by-side
compiler/utils/Outputable.lhs
View file @
5c3a415b
...
...
@@ -380,9 +380,9 @@ showSDocForUser :: DynFlags -> PrintUnqualified -> SDoc -> String
showSDocForUser _ unqual doc
= show (runSDoc doc (initSDocContext (mkUserStyle unqual AllTheWay)))
showSDocUnqual :: SDoc -> String
showSDocUnqual ::
DynFlags ->
SDoc -> String
-- Only used in the gruesome isOperator
showSDocUnqual d
showSDocUnqual
_
d
= show (runSDoc d (initSDocContext (mkUserStyle neverQualify AllTheWay)))
showsPrecSDoc :: Int -> SDoc -> ShowS
...
...
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