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
Alex D
GHC
Commits
667c5779
Commit
667c5779
authored
Jun 11, 2012
by
Ian Lynagh
Browse files
Pass DynFlags down to printForUserPartWay
parent
df34ee6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/utils/Outputable.lhs
View file @
667c5779
...
@@ -333,8 +333,9 @@ printForUser _ handle unqual doc
...
@@ -333,8 +333,9 @@ printForUser _ handle unqual doc
= Pretty.printDoc PageMode handle
= Pretty.printDoc PageMode handle
(runSDoc doc (initSDocContext (mkUserStyle unqual AllTheWay)))
(runSDoc doc (initSDocContext (mkUserStyle unqual AllTheWay)))
printForUserPartWay :: Handle -> Int -> PrintUnqualified -> SDoc -> IO ()
printForUserPartWay :: DynFlags -> Handle -> Int -> PrintUnqualified -> SDoc
printForUserPartWay handle d unqual doc
-> IO ()
printForUserPartWay _ handle d unqual doc
= Pretty.printDoc PageMode handle
= Pretty.printDoc PageMode handle
(runSDoc doc (initSDocContext (mkUserStyle unqual (PartWay d))))
(runSDoc doc (initSDocContext (mkUserStyle unqual (PartWay d))))
...
...
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