[GHC] #11512: An unwritten kind variable is "specified", when it shouldn't be.

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


#11512: An unwritten kind variable is "specified", when it shouldn't be.
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  goldfire
            Type:  bug               |               Status:  merge
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
                                     |  TypeApplications
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  typecheck/should_compile/T11512
      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/11512#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list