Skip to content
  • Simon Peyton Jones's avatar
    Makes Lint less chatty: · 35c99e72
    Simon Peyton Jones authored and Marge Bot's avatar Marge Bot committed
    I found in #17415 that Lint was printing out truly gigantic
    warnings, unmanageably huge, with repeated copies of the
    same thing.
    
    This patch makes Lint less chatty, especially for warnings:
    
    * For **warnings**, I don't print details of the location,
      unless you add `-dppr-debug`.
    
    * For **errors**, I still print all the info. They are fatal
      and stop exection, whereas warnings appear repeatedly.
    
    * I've made much less use of `AnExpr` in `LintLocInfo`;
      the expression can be gigantic.
    35c99e72