X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcRnTypes.lhs;h=3b1247790a9dadc791425466d5c4a2c1d65d98cc;hp=3c3ca95b037264df7b3d94796e00ccc58554f293;hb=2ed6929441ca033f2c5e1cf1a836579fff30b073;hpb=db7ce4c95962651ba9db8d00b3b9c886f13c2979 diff --git a/compiler/typecheck/TcRnTypes.lhs b/compiler/typecheck/TcRnTypes.lhs index 3c3ca95..3b12477 100644 --- a/compiler/typecheck/TcRnTypes.lhs +++ b/compiler/typecheck/TcRnTypes.lhs @@ -798,7 +798,8 @@ data InstOrigin \begin{code} pprInstLoc :: InstLoc -> SDoc pprInstLoc (InstLoc orig locn _) - = hsep [text "arising from", pp_orig orig, text "at", ppr locn] + = sep [text "arising from" <+> pp_orig orig, + text "at" <+> ppr locn] where pp_orig (OccurrenceOf name) = hsep [ptext SLIT("use of"), quotes (ppr name)] pp_orig (IPOccOrigin name) = hsep [ptext SLIT("use of implicit parameter"), quotes (ppr name)]