Skip to content

PartialTypeSignatures warnings should be turned off with -Wno-partial-type-signatures

Foo.hs:638:18: warning: [-Wpartial-type-signatures]

The warning when using PartialTypeSignatures suggests that the warning is enabled by -Wpartial-type-signatures. However, if you try and disable this warning using -Wno-partial-type-signatures then GHC complains that it is not a recognised flag. The correct way to turn it off is to use -fno-warn-partial-signatures. It seems that for consistency the first way that I tried should also work.

Trac metadata
Trac field Value
Version 8.6.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
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