Skip to content

all-missed-specializations doesn't suggest warning

-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.

Trac metadata
Trac field Value
Version 8.6.3
Type Bug
TypeOfFailure OtherFailure
Priority low
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information