[GHC] #14005: Explore moving from pretty to prettyprinter

GHC ghc-devs at haskell.org
Fri Jul 21 03:59:06 UTC 2017


#14005: Explore moving from pretty to prettyprinter
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3650
       Wiki Page:                    |
  wiki:PrettyErrors                  |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * differential:   => Phab:D3650


Comment:

 @bollu has offered to look into moving GHC to it and even has a branch
 (Phab:D3650) starting the process. Unfortunately, he ran into a rather
 tricky correctness issue: the inplace `ghc-pkg` fails during the build
 with,
 {{{
 /home/ben/ghc/ghc-testing/inplace/lib/package.conf.d/package.cache:
 GHC.PackageDb.readPackageDb: inappropriate type (not a ghc-pkg db file,
 wrong file magic number)
 }}}

 It seems possible that this this due to faulty code generation due to
 minor differences in pretty-printer output, but it's really quite unclear.
 This needs further investigation.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14005#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list