[GHC] #9844: Bang pattern doesn't work on a newtype constructor
GHC
ghc-devs at haskell.org
Fri Nov 28 13:25:46 UTC 2014
#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
More information about the ghc-tickets
mailing list