[GHC] #14231: Core lint error "in result of Static argument"

GHC ghc-devs at haskell.org
Wed Jul 4 13:16:08 UTC 2018


#14231: Core lint error "in result of Static argument"
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.5
      Resolution:                    |             Keywords:
                                     |  StaticArgumentTransformation
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 monoidal):

 Replying to [comment:7 osa1]:
 > Looking at this again; I realized that we don't need any flags to
 trigger some lint warnings in the original program (the `Async` module):

 This is a different issue; GHC won't inline a self-recursive definition
 (e.g. `x :: a; x = x`) even if it's marked as INLINE. We could have better
 messaging about this, I believe this is ticket #9418.

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


More information about the ghc-tickets mailing list