[GHC] #7151: GHC accepts invalid type declaration

GHC cvs-ghc at haskell.org
Wed Aug 15 17:02:27 CEST 2012


#7151: GHC accepts invalid type declaration
-----------------------------------------+----------------------------------
 Reporter:  bitonic                      |          Owner:                  
     Type:  bug                          |         Status:  new             
 Priority:  normal                       |      Component:  Compiler        
  Version:  7.4.2                        |       Keywords:                  
       Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple
  Failure:  GHC accepts invalid program  |       Testcase:                  
Blockedby:                               |       Blocking:                  
  Related:                               |  
-----------------------------------------+----------------------------------

Comment(by simonpj@…):

 commit 72e7f57cb4326c797f63d0c0c976241c02328209
 {{{
 Author: Simon Peyton Jones <simonpj at microsoft.com>
 Date:   Wed Aug 15 16:01:19 2012 +0100

     Require DataKinds for promoted list/tuple syntax in types

     Fixes Trac #7151

  compiler/rename/RnEnv.lhs       |    8 +-------
  compiler/rename/RnTypes.lhs     |   26 +++++++++++++++++++-------
  compiler/typecheck/TcHsType.lhs |    6 +++++-
  3 files changed, 25 insertions(+), 15 deletions(-)
 }}}

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



More information about the Glasgow-haskell-bugs mailing list