Skip to content
  • Simon Peyton Jones's avatar
    Refine incomplete-pattern checks (Trac #4905) · a0f6d307
    Simon Peyton Jones authored
    The changes are:
    
    * New flag -fwarn-incomplete-uni-patterns, which checks for
      incomplete patterns in (a) lambdas, (b) pattern bindings
    
    * New flag is not implied by -W or -Wall (too noisy; and many
      libraries use incomplete pattern bindings)
    
    * Actually do the incomplete-pattern check for pattern bindings
      (previously simply omitted)
    
    * Documentation for new flag
    a0f6d307