patch applied (ghc): Fix panic when running "ghc -H"; trac #3364

Ian Lynagh igloo at earth.li
Thu Jun 24 20:22:08 EDT 2010


Thu Jun 24 16:40:11 PDT 2010  Ian Lynagh <igloo at earth.li>
  * Fix panic when running "ghc -H"; trac #3364
  The problem is that showing SDoc's looks at the static flags global
  variables, but those are panics while we are parsing the static flags.
  We work around this by explicitly using a fixed prettyprinter style.

    M ./compiler/main/CmdLineParser.hs -1 +1
    M ./compiler/utils/Outputable.lhs -1 +4

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20100624234011-3fd76-18f92390c9c080ed9aedec69c8691f11695df86a.gz



More information about the Cvs-ghc mailing list