[GHC] #2915: Arity is smaller than need be

GHC ghc-devs at haskell.org
Mon Feb 17 11:45:32 UTC 2014


#2915: Arity is smaller than need be
--------------------------------------------+------------------------------
        Reporter:  simonpj                  |            Owner:  simonpj
            Type:  bug                      |           Status:  infoneeded
        Priority:  lowest                   |        Milestone:  7.6.2
       Component:  Compiler                 |          Version:  6.10.1
      Resolution:                           |         Keywords:
Operating System:  Unknown/Multiple         |     Architecture:
 Type of failure:  Runtime performance bug  |  Unknown/Multiple
       Test Case:                           |       Difficulty:  Unknown
        Blocking:                           |       Blocked By:
                                            |  Related Tickets:
--------------------------------------------+------------------------------

Comment (by nomeata):

 Reading more code I found this change
 (a522c3b25eea1fe40edae7052335acce75e8a1c3) introduced in response to
 #5625, which prevents this eta-expansion to be pedantic about bottoms.

 The `-fpedantic-bottoms` check was added later. So I guess one could argue
 that if this flag is off, we should go back to the more liberal eta-
 expansion. I’ll try that and see what happens.

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


More information about the ghc-tickets mailing list