[GHC] #13558: Inconsistency in CoreUtils.exprIsOk

GHC ghc-devs at haskell.org
Wed Apr 12 15:16:34 UTC 2017


#13558: Inconsistency in CoreUtils.exprIsOk
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"8d8d094d45fc638e3fac332fbce8138a1c06b9c3/ghc"
 8d8d094d/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="8d8d094d45fc638e3fac332fbce8138a1c06b9c3"
 Make let and app consistent in exprIsCheapX

 This fixes Trac #13558, by making App and Let behave
 consistently; see Note [Arguments and let-bindings exprIsCheapX]

 I renamed the mysterious exprIsOk to exprIsCheapX.  (The "X"
 is because it is parameterised over a CheapAppFun.)
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13558#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list