• quchen's avatar
    Add flag to control number of missing patterns in warnings · 7005b9f7
    quchen authored
    Non-exhaustive pattern warnings had their number of patterns to
    show hardcoded in the past. This patch implements the TODO remark
    that this should be made a command line flag.
    
        -fmax-uncovered-patterns=<n>
    
    can now be used to influence the number of patterns to be shown.
    
    Reviewers: hvr, austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2076
    7005b9f7
Check.hs 57.5 KB