Fix Trac #3262: suppress name-shadow warning for _names
authorsimonpj@microsoft.com <unknown>
Thu, 28 May 2009 15:23:59 +0000 (15:23 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 28 May 2009 15:23:59 +0000 (15:23 +0000)
commit46f02d59813499ba2aa44e7831e0b69ec6d8f25d
tree1c98798d0e1035f79fe79aeddc9e686b8bda2322
parente16df2647fde526846e4c13470250ee5b475bdd2
Fix Trac #3262: suppress name-shadow warning for _names

Adopt Max's suggestion for name shadowing, by suppressing shadowing
warnings for variables starting with "_".  A tiny bit of refactoring
along the way.
compiler/basicTypes/NameSet.lhs
compiler/basicTypes/OccName.lhs
compiler/rename/RnEnv.lhs
compiler/typecheck/TcInstDcls.lhs
docs/users_guide/using.xml