Bring test suite up to date
This commit is contained in:
@@ -11,10 +11,10 @@ showPage dflag style = showDocWith dflag PageMode . withStyle dflag style
|
||||
showOneLine :: DynFlags -> PprStyle -> SDoc -> String
|
||||
showOneLine dflag style = showDocWith dflag OneLineMode . withStyle dflag style
|
||||
|
||||
showForUser :: DynFlags -> PrintUnqualified -> SDoc -> String
|
||||
showForUser dflags unqual sdoc =
|
||||
showDocWith dflags PageMode $
|
||||
runSDoc sdoc $ initSDocContext dflags $ mkUserStyle unqual AllTheWay
|
||||
-- showForUser :: DynFlags -> PrintUnqualified -> SDoc -> String
|
||||
-- showForUser dflags unqual sdoc =
|
||||
-- showDocWith dflags PageMode $
|
||||
-- runSDoc sdoc $ initSDocContext dflags $ mkUserStyle unqual AllTheWay
|
||||
|
||||
getStyle :: GhcMonad m => m PprStyle
|
||||
getStyle = do
|
||||
|
||||
Reference in New Issue
Block a user