From: sof Date: Fri, 5 Feb 1999 14:28:34 +0000 (+0000) Subject: [project @ 1999-02-05 14:28:34 by sof] X-Git-Tag: Approximately_9120_patches~6599 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=99f2474458f8eec90ee51305a3855df469cb023a;p=ghc-hetmet.git [project @ 1999-02-05 14:28:34 by sof] Add initial empty line to a block of errors/warnings --- diff --git a/ghc/compiler/main/ErrUtils.lhs b/ghc/compiler/main/ErrUtils.lhs index 39bdd00..96c7b67 100644 --- a/ghc/compiler/main/ErrUtils.lhs +++ b/ghc/compiler/main/ErrUtils.lhs @@ -59,7 +59,7 @@ dontAddErrLoc title rest_of_err_msg pprBagOfErrors :: Bag ErrMsg -> SDoc pprBagOfErrors bag_of_errors - = vcat [p $$ text "" | (_,p) <- sorted_errs ] + = text "" $$ vcat [p $$ text "" | (_,p) <- sorted_errs ] where bag_ls = bagToList bag_of_errors sorted_errs = sortLt occ'ed_before bag_ls