Skip to content
  • Matthew Pickering's avatar
    Implement -fwarn-missing-pat-syn-sigs · 1883afb2
    Matthew Pickering authored
    This adds a warning when a pattern synonym is not accompanied by a
    signature in the style of `-fwarn-missing-sigs`.
    
    It is turned on by -Wall.
    
    If the user specifies, `-fwarn-missing-exported-signatures` with
    `-fwarn-missing-pat-syn-sigs` then it will only warn when the pattern
    synonym is exported.
    
    Test Plan: ./validate
    
    Reviewers: hvr, austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1596
    
    GHC Trac Issues: #11053
    1883afb2