[GHC] #16282: all-missed-specializations doesn't suggest warning

GHC ghc-devs at haskell.org
Sun Feb 3 22:59:41 UTC 2019


#16282: all-missed-specializations doesn't suggest warning
-------------------------------------+-------------------------------------
           Reporter:  crockeea       |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  low            |         Milestone:
          Component:  Compiler       |           Version:  8.6.3
           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:
-------------------------------------+-------------------------------------
 `-Weverything` turns on `-Wall-missed-specializations`. When most warnings
 print, they say, e.g.,

 `warning: [-Wincomplete-uni-patterns]`

 which is helpful because I can then easily suppress all warnings of that
 type with an `-fno-warn-*`. But missed specializations do not show the
 warning flag:

 {{{
 Foo.hs: warning:
     Could not specialise imported function `foo'
     Probable fix: add INLINABLE pragma on `foo'
 }}}

 There is no indication of what warning flag triggered the warning.

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


More information about the ghc-tickets mailing list