[GHC] #7151: GHC accepts invalid type declaration
GHC
cvs-ghc at haskell.org
Wed Aug 15 15:38:22 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: |
-----------------------------------------+----------------------------------
The declaration
{{{
type Foo = [Int, String]
}}}
is accepted by GHC with no extensions enabled, while it is clearly invalid
Haskell. I didn't think about it but I suspect it has to do with
DataKinds stepping in when it shouldn't.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7151>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list