Skip to content
  • Herbert Valerio Riedel's avatar
    Fix misattribution of `-Wunused-local-binds` warnings · 1e6ec124
    Herbert Valerio Riedel authored and Ben Gamari's avatar Ben Gamari committed
    This fixes a bug where warnings actually controlled by
    
    - `Opt_WarnUnusedMatches`
    - `Opt_WarnUnusedTypePatterns`
    - `Opt_WarnUnusedTopBinds`
    
    were incorrectly reported as being controlled by
    `Opt_WarnUnusedLocalBinds` as well
    
    This bug was introduced in bb5afd3c
    while implementing #10752
    
    Test Plan: ./validate still running -- testsuite output wiggles expected
    
    Reviewers: barrucadu, quchen, austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2077
    1e6ec124