Style hack to pass a test.
This commit is contained in:
parent
9226c5e741
commit
85ab14975d
@ -67,7 +67,7 @@ ppMsg spn sev dflag msg = fromMaybe def $ do
|
|||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
|
||||||
showMsg :: DynFlags -> SDoc -> String
|
showMsg :: DynFlags -> SDoc -> String
|
||||||
showMsg dflag sdoc = map toNull $ showQualifiedPage dflag sdoc
|
showMsg dflag sdoc = map toNull $ showUnqualifiedPage dflag sdoc
|
||||||
where
|
where
|
||||||
toNull '\n' = '\0'
|
toNull '\n' = '\0'
|
||||||
toNull x = x
|
toNull x = x
|
||||||
|
Loading…
Reference in New Issue
Block a user