projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b5afa
)
Update layout of error message slightly
author
simonpj@microsoft.com
<unknown>
Thu, 5 Nov 2009 12:04:43 +0000
(12:04 +0000)
committer
simonpj@microsoft.com
<unknown>
Thu, 5 Nov 2009 12:04:43 +0000
(12:04 +0000)
compiler/typecheck/TcHsType.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcHsType.lhs
b/compiler/typecheck/TcHsType.lhs
index
e277e5f
..
11288dc
100644
(file)
--- a/
compiler/typecheck/TcHsType.lhs
+++ b/
compiler/typecheck/TcHsType.lhs
@@
-1049,7
+1049,7
@@
checkExpectedKind ty act_kind (EK exp_kind ek_ctxt)
\begin{code}
pprHsSigCtxt :: UserTypeCtxt -> LHsType Name -> SDoc
-pprHsSigCtxt ctxt hs_ty = vcat [ ptext (sLit "In") <+> pprUserTypeCtxt ctxt <> colon,
+pprHsSigCtxt ctxt hs_ty = sep [ ptext (sLit "In") <+> pprUserTypeCtxt ctxt <> colon,
nest 2 (pp_sig ctxt) ]
where
pp_sig (FunSigCtxt n) = pp_n_colon n