id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
5318,badly formatted error message,igloo,,"When compiling this module:
{{{
module Foo where

pprx
    =  text ""aaaaaaaaaa""
    $$ text ""bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb""
    $$ text """"
    $$ text ""ccccccccccccccccccccccccccccccccccccc""
    $$ text """"
    $$ text ""ddddddddddddddddddddddddddddddddddddddddd""
    $$ ppr (raCodeCoalesced s)
    $$ text """"
    $$ text """"

s = undefined
($$) = undefined
text = undefined
raCodeCoalesced = undefined

class Outputable a where
    ppr :: a -> ()
}}}
GHC gives a poorly formatted error message:
{{{
$ ghc -c w.hs

w.hs:11:8:
    Ambiguous type variable `a0' in the constraint:
      (Outputable a0) arising from a use of `ppr'
    Probable fix: add a type signature that fixes these type variable(s)
    In the second argument of `($$)', namely `ppr (raCodeCoalesced s)'
    In the first argument of `($$)', namely
      `text ""aaaaaaaaaa"" $$ text ""bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb""
   $$
     text """"
 $$
   text ""ccccccccccccccccccccccccccccccccccccc""
$$
 text """"
$$
text ""ddddddddddddddddddddddddddddddddddddddddd""
$$
ppr (raCodeCoalesced s)'
    In the first argument of `($$)', namely
      `text ""aaaaaaaaaa"" $$ text ""bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb""
   $$
     text """"
 $$
   text ""ccccccccccccccccccccccccccccccccccccc""
$$
 text """"
$$
text ""ddddddddddddddddddddddddddddddddddddddddd""
$$
ppr (raCodeCoalesced s)
$$
text """"'
}}}

I would expect the entire quoted code to be indented at least 7 spaces.
",bug,closed,normal,,Compiler,7.1,fixed,,,Unknown/Multiple,Unknown/Multiple,None/Unknown,,,,,
