[GHC] #16024: Kind Signatures on data instances

GHC ghc-devs at haskell.org
Mon Dec 10 03:25:41 UTC 2018


#16024: Kind Signatures on data instances
-------------------------------------+-------------------------------------
        Reporter:  andrewthad        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.3
       Component:  Compiler          |              Version:  8.6.2
      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 goldfire):

 This has nothing to do with data instances. Datatype declarations that use
 `=` cannot also have a kind signature; only GADT-syntax declarations can
 have a kind signature. An empty datatype is considered to be in GADT
 syntax.

 So the bug here essentially just a thinko in that comment.

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


More information about the ghc-tickets mailing list