[GHC] #7433: Promoted constructors accepted without flag

GHC cvs-ghc at haskell.org
Wed Nov 21 17:19:55 CET 2012


#7433: Promoted constructors accepted without flag
-----------------------------+----------------------------------------------
Reporter:  dreixel           |          Owner:                  
    Type:  bug               |         Status:  merge           
Priority:  normal            |      Component:  Compiler        
 Version:  7.6.1             |       Keywords:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:                  
-----------------------------+----------------------------------------------
Changes (by dreixel):

  * status:  new => merge


Comment:

 Fixed; the example now gives:
 {{{
     Data constructor `Z' cannot be used here
       (Perhaps you intended to use -XDataKinds)
     In the type `Z'
     In the type declaration for `T'
 }}}

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



More information about the Glasgow-haskell-bugs mailing list