[GHC] #11970: Simplify Parent for patten synonyms

GHC ghc-devs at haskell.org
Tue Apr 26 16:42:29 UTC 2016


#11970: Simplify Parent for patten synonyms
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  mpickering
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       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:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I'm afraid I don't understand the problem with which you are wrestling.

 My suggestion is to radically simplify what happens

 * Always allow `T(K)` in the renamer.  Make no attempt to check that K is
 a child of T.

 * Sort it out in `tcExports`.

 Simon

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


More information about the ghc-tickets mailing list