#9844: Bang pattern doesn't work on a newtype constructor -------------------------------------+------------------------------------- Reporter: akio | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.3 Resolution: | Keywords: Operating System: | Architecture: Unknown/Multiple Unknown/Multiple | Difficulty: Unknown Type of failure: Incorrect | Blocked By: result at runtime | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by Simon Peyton Jones <simonpj@…>): In [changeset:"227a566851f19f5a720c4a86fdb1ff99117325c6/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="227a566851f19f5a720c4a86fdb1ff99117325c6" Don't discard a bang on a newtype pattern (Trac #9844) We were wrongly simply dropping the bang, in tidy_bang_pat. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9844#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler