#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 _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs