Skip to content
  • Simon Peyton Jones's avatar
    Reinstate monomorphism-restriction warnings · f8fbf385
    Simon Peyton Jones authored
    This patch is driven by Trac #10935, and reinstates the
    -fwarn-monomorphism-restriction warning.  It was first lost in 2010:
    d2ce0f52 "Super-monster patch implementing the new typechecker -- at
    last"
    
    I think the existing documentation is accurate; it is not even
    turned on by -Wall.
    
    I added one test.
    f8fbf385