[GHC] #11660: Remove Type pretty-printer in favor of IfaceType
GHC
ghc-devs at haskell.org
Sun Nov 13 22:25:23 UTC 2016
#11660: Remove Type pretty-printer in favor of IfaceType
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner:
Type: task | Status: patch
Priority: high | Milestone: 8.2.1
Component: Compiler | Version: 7.10.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #12550, #12447, | Differential Rev(s): Phab:D2528
#11786, #11549, #12024, #12697, |
#12510 |
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"6c0f10fac767c49b65ed71e8eb8e78ca4f9062d5/ghc" 6c0f10f/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="6c0f10fac767c49b65ed71e8eb8e78ca4f9062d5"
Kill Type pretty-printer
Here we consolidate the pretty-printing logic for types in IfaceType. We
need IfaceType regardless and the printer for Type can be implemented in
terms of that for IfaceType. See #11660.
Note that this is very much a work-in-progress. Namely I still have yet
to ponder how to ease the hs-boot file situation, still need to rip out
more dead code, need to move some of the special cases for, e.g., `*` to
the IfaceType printer, and need to get it to validate. That being said,
it comes close to validating as-is.
Test Plan: Validate
Reviewers: goldfire, austin
Subscribers: goldfire, thomie, simonpj
Differential Revision: https://phabricator.haskell.org/D2528
GHC Trac Issues: #11660
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11660#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list