#7550: incorrect bang patterns rejected with "report a ghc bug" ----------------------------------------------+----------------------------- Reporter: aavogt | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.6.1 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Incorrect warning at compile-time | Blockedby: Blocking: | Related: ----------------------------------------------+----------------------------- {{{ {-# LANGUAGE BangPatterns #-} data E a = E { e :: ! [] a } {- The current error given is not graceful:
ghc: panic! (the 'impossible' happened) (GHC version 7.6.1 for x86_64-unknown-linux): tc_hs_type: bang Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug -} -- maybe there could be some suggestion that E should have been written data D a = D { d :: ! ([] a) } }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7550> 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