[GHC] #7398: RULES don't apply to a newtype constructor
GHC
ghc-devs at haskell.org
Mon Nov 24 21:59:47 UTC 2014
#7398: RULES don't apply to a newtype constructor
-------------------------------------+-------------------------------------
Reporter: shachaf | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.10.1
Component: Compiler | Version: 7.6.1
Resolution: | Keywords:
Operating System: | Architecture: Unknown/Multiple
Unknown/Multiple | Difficulty: Unknown
Type of failure: Incorrect | Blocked By:
result at runtime | Related Tickets: #6082
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Changes (by thomie):
* related: => #6082
Comment:
The warnings were added in commit
79062a8a0e9168b7f925c05699c30333563a9303:
{{{
Author: Simon Peyton Jones <>
Date: Mon Jul 23 09:17:09 2012 +0100
Make the desugarer warn about RULES that may not fire
This warning was suggested by Trac #6082, where we had
a library RULE that failed to fire because its function
was inlined too soon.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7398#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list