[GHC] #16305: When should -Wmissed-specializations fire?

GHC ghc-devs at haskell.org
Mon Feb 11 22:30:47 UTC 2019


#16305: When should -Wmissed-specializations fire?
-------------------------------------+-------------------------------------
        Reporter:  crockeea          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.7
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mpickering):

 It seems to me that `-Wmissed-specs` should warn when a function which has
 an `INLINABLE` pragma on fails to specialise for some reason and `-Wall-
 missed-specs` should warn whenever an overloaded function fails to
 specialise. Is that what the implementation does?

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


More information about the ghc-tickets mailing list