[GHC] #11721: GADT-syntax data constructors don't work well with TypeApplications

GHC ghc-devs at haskell.org
Mon Mar 21 20:10:09 UTC 2016


#11721: GADT-syntax data constructors don't work well with TypeApplications
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  goldfire
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
                                     |  TypeApplications
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 Richard Eisenberg <eir@…>):

 In [changeset:"35e937973f61a7e5534ecd0b1c67111cd82d4238/ghc"
 35e93797/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="35e937973f61a7e5534ecd0b1c67111cd82d4238"
 Track specified/invisible more carefully.

 In particular, this allows correct tracking of specified/invisible
 for variables in Haskell98 data constructors and in pattern synonyms.
 GADT-syntax constructors are harder, and are left until #11721.

 This was all inspired by Simon's comments to my fix for #11512,
 which this subsumes.

 Test case: ghci/scripts/TypeAppData

 [skip ci]  (The test case fails because of an unrelated problem
 fixed in the next commit.)
 }}}

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


More information about the ghc-tickets mailing list